PeterDK Posted February 7, 2014 Posted February 7, 2014 Hi, My page http://www.huurvillafrankrijk.be/nl/overzicht/ is setting really bad caching headers. See redbot. My very bad headers: Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0Pragma: no-cache How can I remove these? The template witch this page is using is already set to cache (time=86400). Are there php or server settings I have to look into? Thanks!
Wanze Posted February 7, 2014 Posted February 7, 2014 Hi, The template caching in ProcessWire does not interact with headers. It caches the output of a $page->render() call. This means that there is less server-side processing required. Should you want to modify the headers, you can use php: http://www.php.net/manual/de/function.header.php
ryan Posted February 9, 2014 Posted February 9, 2014 You might look at WillyC's htaccess rules too. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now