Guest User

Untitled

a guest
Apr 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2.  
  3. //IE actually caches ajax pages. did you catch that? IT CACHES AJAX PAGES!
  4. header("Expires: Sun, 19 Nov 1978 05:00:00 GMT");
  5. header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
  6. header("Cache-Control: no-store, no-cache, must-revalidate");
  7. header("Cache-Control: post-check=0, pre-check=0", false);
  8. header("Pragma: no-cache")
  9.  
  10. ?>
Add Comment
Please, Sign In to add comment