Questions on how to use static_html_cache and a 200 OK message problem

Hi

I have some questions on how to use the static html cache plugin. It's a little unclear for me how I am supposed to state the pages which are not going to be cached. Is it something like this? search.php/, frontpage.php/, themes/configuredtheme/newsletter/inc/storeAddresses.php,

I have a customized theme where I in the sidebar.php have a newsletter.php included. This also have /newsletter/inc/storeAddresses.php included and it's from this file I get an "error". If the cache is purged I get the message: "200 OK The document has moved here." on the root url. This message derive from the code `header('Location: http://website.com/pages/newsletter');` which are used in storeAddresses.php.

I guess that if I get storeAddresses.php exluded from cache this message will not come, but as for now both this file and also my custom front page gets cached.

Comments

  • acrylian Administrator, Developer
    The cache is only for direct theme pages (gallery pages and the custom pages) and everything that is displayed on them. So the newsletter page is not displayed directly by itself and just included within the sidebar.php that is itself also just included in a theme page? Therefore the theme pages those two are included on are cached.
Sign In or Register to comment.