Jump to content

Headers cache control


mort

Recommended Posts

Hey all

 

I have finished redeveloping a site, reuploaded it and the client is complaining of not being able to see the new site yet. If they Ctrl + F5 they would see it, but are concerned that if some of their clients dont know its a new site, how shall they see it?

 

I have put the following at the top of the index

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");

 

Will that override the browser settings?

 

Need a quickish response if anyone can help me out, thanks in advance!  8)

Link to comment
https://forums.phpfreaks.com/topic/50816-headers-cache-control/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.