Custom Cache Headers
-
Great plugin. Just 1 small issue. We use nginx as a reverse proxy and would like to use it as another layer of caching. At the moment when cached pages are served, they are served with strict no caching rules.
/* don't allow browser caching of page */ header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0'); header('Pragma: no-cache'); /* expire at this very moment */ header('Expires: ' . gmdate("D, d M Y H:i:s", time() ) . " GMT");
It would be nice if you used a filter/hook so there is a way to modify what expiry to set. Or have a way of setting our own caching headers as an option somewhere in the configuration page.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Cache Headers’ is closed to new replies.