advanced code snippet search
ryantxr on 06/11/12
http php header cache
06/11/12 10:38pm
1 person have marked this snippet as a favorite
a8ball
HTTP headers to disable caching.
header("Content-Type: application/json"); header("Expires: 0"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");
Report this snippet Tweet
Comment:
You need to login to post a comment.