Closed (fixed)
Project:
Drupal core
Version:
6.9
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2009 at 20:32 UTC
Updated:
6 Aug 2009 at 16:02 UTC
What does means for "Minimum cache lifetime" field in admin/settings/performance page?
Does it means the page are cached forever until someone change the data on the page?
thx!
Comments
Comment #1
ainigma32 commentedYou can read none as 0 in this case i.e. the minimum amount of time that will elapse before the cache is emptied is 0 seconds.
Does that answer your question?
- Arie
Comment #2
xn2001 commentedJust to make sure that I understand correctly:
If I set to <none> and submit an article, then the article will appear right away for anonymous users.
If I set to "1 hour" and submit an article, then the article will appear in 1 hour for anonymous users.
Are my statements above correct?
If you don't mind, that bring another question:
What trigger the recreation and emptying of the cache? cron job? changes submitted?
thx!
Comment #3
DocMartin commentedSeems to me the cache is triggered on cron job; cron checking re date/time the page can expire. If cron job is after this date/time, the cache is deleted. [I was fuzzier re this till just started using Boost module.]
If so, would seem wise for all sites to have minimum time that's not 0 secs. Especially if have frequent cron jobs; as it's otherwise frequency of cron jobs that determines how often caches cleared.
What I'd really like would be indefinite caching with pages that stay unchanged (esp using Boost module; they can become essentially static, albeit with some changes in Blocks such as for random images).
- and, when pages edited, have comments added or new content should be inserted into pages (such as teasers of new articles, on front page), cache deleted for them during next cron job.
But, I haven't seen this is possible; so min cron lifetime something of a balance between trying to ensure a fair number of anonymous visitors - inc search engine spiders - arrive at cached pages, and fresh content becoming visible.
Comment #4
xn2001 commentedClose this. No longer need the info.