I have created page with dynamical content, which handled by mu custom module and have setup the 'Performance' page:
1. Caching mode - Normal
2. Minimum cache lifetime = 1min
3. All other options = Enabled
Then I visit this page as logged in User, the cache is not working, and I see the new content from this page - while all fine, but then I visit this page as Annonimous, the cache is working, but always used the first version of cached page. So if I will visit the page at the next day, I will see the same content as at my first visit.
I have made researches in the drupal core, the function page_set_cache, don't used the minimum cache lifetime variable for storing cache 'expire' value, instead of this used contstant CACHE_TEMPORARY:
cache_set($base_root . request_uri(), $data, 'cache_page', CACHE_TEMPORARY, drupal_get_headers());
Comments
Comment #1
neclimdul#1279654: Page cache is CACHE_TEMPORARY and does not honor cache_lifetime