Jump to content

PHP Header Cacheing issue


microchip78

Recommended Posts

I am trying to understand how Cache-Control works when you define using header function in PHP.

 

If I specify Cache-Control "max-age=3600, must-revalidate" in php using header function

 

Does browser/proxy cache(liek Squid/Akamai) go all the way to orgin server to validate before max-age expires? Or will it serve content from cache till max-age expires?

 

What if I want to a browser to check for any updated file before max-age expires ?

Link to comment
https://forums.phpfreaks.com/topic/227323-php-header-cacheing-issue/
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.