Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2010 at 10:14 UTC
Updated:
14 Sep 2011 at 21:39 UTC
Why does page_set_cache use CACHE_TEMPORARY for the expiry time? I simply don't understand. I've searched and cant find an answer... Maybe I'm using the wrong terms.
CACHE_TEMPORARY means no pages get refreshed based on the cache_lifetime setting. It requires the Cron job to wipe them. This means if you run your cron daily, a page will be cached for a day. If you run your cron hourly (say to keep your search index fresh) then every hour your cache_page table gets wiped.
Surely, if you set your cache_liftime variable to, say, 15 minutes that means you want your pages to only cache for 15 mins...
Have I missed something?
Comments
Comment #1
neclimdul#1279654: Page cache is CACHE_TEMPORARY and does not honor cache_lifetime