brown2005 Posted March 6, 2007 Share Posted March 6, 2007 header("Cache-Control: no-cache, must-revalidate"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); When should I use the above on my website? Link to comment https://forums.phpfreaks.com/topic/41445-solved-headercache-control-no-cache-must-revalidate/ Share on other sites More sharing options...
obsidian Posted March 6, 2007 Share Posted March 6, 2007 You would use that combination of header modification on any page where you want to prevent the page from being cached on a user's machine. Basically, if it's a page that is updated constantly and you want to assure that your users see the most recent data at any time, you need to use this. Link to comment https://forums.phpfreaks.com/topic/41445-solved-headercache-control-no-cache-must-revalidate/#findComment-200775 Share on other sites More sharing options...
brown2005 Posted March 6, 2007 Author Share Posted March 6, 2007 ok thanks very much, very useful information Link to comment https://forums.phpfreaks.com/topic/41445-solved-headercache-control-no-cache-must-revalidate/#findComment-200777 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.