3 ms·
Cache-Control: max-age=0, must-revalidate Sounds like what you want (presuming your server handles 304 logic correctly)
by bawolff 5y ago
Cache-Control: max-age=0, must-revalidate
Sounds like what you want (presuming your server handles 304 logic correctly)
- forgotmypw17 5y agoI do want caching to happen, however -- until something changes the page.
- bawolff 5y agoThat directive says - cache, but ask the webserver if the page has changed every time. If the server responds 304 not modified, it uses the cached version. From a performance perspective though, people on good internet might be dominated by RTT so a 304 might be almost as expensive as a full 200.