[support] When are Caches Cleared?

Earnie Boyd earnie at users.sourceforge.net
Mon Apr 19 22:05:34 UTC 2010


Fred Jones wrote:
> Running cron apparently does not clear the cache tables:
> http://drupal.org/node/315303
>
> Is there any time period when caches are automatically rebuilt? I
> googled and can't find an answer to this seemingly-simple question.
>
> Thanks.

Your question is vague.  There are different types of "caches".  Those 
that are true "caches" have an expiration field that control the rebuild 
of the cached data.  If you mean the menu, well, it really isn't a cache 
even though it's rebuild is triggered by the "Clear cached data" button. 
  The menu router data doesn't change unless you add a new module.  The 
custom menu is handled slightly differently than the menus coming from 
modules but still the menu router doesn't change once you've set the menu.

Why do you ask?  Are you developing code and not seeing the caches 
change or is there some production issue you need resolved?

-- 
Earnie
-- http://progw.com
-- http://www.for-my-kids.com


More information about the support mailing list