HTTP_CACHE_CONTROL does not get set
-
I used the plugin to set Cache-Control: max-age=0 on product pages of woocommerce. That works perfect!
The only problem is that the $_SERVER[‘HTTP_CACHE_CONTROL’] does not get set.
1. If I press reload of browser button it does get set.
But just using the plugin with the max-age=0 it does not.2. Tested the server with just a php file with the following:
header("Cache-Control: max-age=0"); //HTTP 1.1
That also results in $_SERVER[‘HTTP_CACHE_CONTROL’] => max-age=0
Any suggestions what to do?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘HTTP_CACHE_CONTROL does not get set’ is closed to new replies.