[development] Refresh rather than re-create D6 cache

António P. P. Almeida appa at perusio.net
Mon Oct 18 15:03:55 UTC 2010


On 18 Out 2010 12h12 WEST, tomi at vacilando.org wrote:

> [1 <text/plain; UTF-8 (quoted-printable)>] Elysia Cron is a perfect
> module and indeed it would be possible to re-write all cache
> refreshes as cron hooks and then configure them to run at different
> times.
>
> Still, I look for a more generic solution (consecutive refreshes of
> any number of caches rather than having to set a time for each) and
> possibly somehow using Drupal's cache (hm, perhaps using cache_set
> with CACHE_PERMANENT and then, at x seconds after it was created
> consider it expired, but refresh maximum one cache per request?)

Perhaps Cache Actions (using Rules) would do the trick:

http://drupal.org/project/cache_actions

--- appa



More information about the development mailing list