Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Caching logic
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2009 at 21:36 UTC
Updated:
17 Jun 2009 at 21:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedIt's been an issue for some time actually, it's one of the reasons why boost is still in alpha. Have you tried today's latest dev version (requires new rewrite rules). In there is this latest patch http://drupal.org/node/413908#comment-1641552 which keeps the cache. Theres still a lot of work to on boost, but I think we are getting closer to it behaving how you would expect it. One thing that boost needs badly with this latest patch is a "maximum cache lifetime", because the files will be there indefinitely with this patch now.
Comment #2
giorgio79 commentedThanks Mikey, I just installed it.
The cache file is not purged on cron now! So it works.
Comment #3
mikeytown2 commentedRipped-out the callback part of _boost_rmdir_rf() since it never worked AFAIK. Here's a patch that should make file expiration work as advertised. Reason this wasn't fixed with the original 6.x port had to do with symlinks.
Comment #4
giorgio79 commentedThis works for me, thanks Mikey
Comment #5
mikeytown2 commentedcommitted
Comment #6
mclaren commentedHi, first of all thanks a lot for the great module! Is it possible to only purge the cache folder until something changes in the page or the page is updated, and NOT purge the cache at every cron run when nothing has changed in the page?
Comment #7
mikeytown2 commented@mclaren
Set the Minimum cache lifetime to something like 4 weeks so the cache only gets flushed every 4 weeks. It's very hard to set triggers and correctly figure out that a change on 'page A' requires 'page Q' to be flushed as well.
#479942: on node update, update associated term page caches as well
#453908: Hook for panel node types - expiration of static cache; panel containing multiple nodes
It really depends on your site, how it is setup. Nodes work like you requested (edit & save flushes cache) in boost already (boost_nodeapi()), other content types are not there yet.
Comment #8
mclaren commented@mikeytown2
Thank you for reply! I understand the difficulty to catch the triggers from so many modules. I have aggregator, panels, views, quicktabs in my site. I just installed boost today, when I saw the beta rolled out. For now I have set the minimum cache expiration to 4 weeks as you suggested, and will see how it affects the pages other than nodes. Thanks !