Cache-Control disabled for 304 response
-
Hi,
I have installed W3 Total Cache plugin on WordPress 5.4 and enabled ‘Browser Cache’. In details of ‘Browser Cache’ configuration we enabled for CSS & JS with:
* Set Last-Modified header: Enabled,
* Set expires header: Enabled,
* Expires header lifetime: 51 – (as for testing purpose),
* Set cache control header: Enabled,
* Cache Control policy: cache with max-age (“public, max-age=EXPIRES_SECONDS”)
* Set entity tag (eTag): Enabled
…For first fresh request for minified CSS file we are getting below ‘Cache-Control’ response from WordPress:
cache-control: max-age=51, public
so, looks ok. But after expiration of 51 sec. the conditional request is performed, and in the response (304 in case no change) we are always getting then:
cache-control: max-age=0, public
so, browser cache is disabled infinitely.Is it possible to getting max-age=51 also for 304 response?
Regards,
MarcinThe page I need help with: [log in to see the link]
The topic ‘Cache-Control disabled for 304 response’ is closed to new replies.