Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Expiration logic
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2009 at 10:14 UTC
Updated:
16 Jun 2009 at 20:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedAlternative solution to this problem is a db table, much like Cache Static.
Comment #2
mikeytown2 commentedModified Version Of Path Redirect() -> path_redirect_load() #451790: API - Reverse Lookup. path_redirect_load()
Add this to a new function that sits in between the calls made to boost_cache_expire() and the actual boost_cache_expire().
While we are here, implementing wildcard support so files with url variables can be expired when the base file gets expired is a good idea.
http://www.php.net/fnmatch
http://www.php.net/glob
Comment #3
mikeytown2 commentedComment #4
Dracolyte commentedThanks for your reply to my other post. I made a quick change in the boost module nodeapi() function to use my user-friendly URLs the expired pages, like so:
This module is a lifesaver, BTW.
Comment #5
mikeytown2 commentedIt's now very important that the cache gets expired correctly, since the cache doesn't get cleared on every cron run with the latest set of patches.
Comment #6
mikeytown2 commentedPatch should flush all derivative paths (node, alias, redirects), including url variables. Using wildcards, for the sole purpose of flushing cached url variables from the base node. One minor issue with this is if there are 2 node paths, one named
superand the other one namedsuper_duper; because of_whensupergets flushedsuper_dupergets flushed as well._is generally not used for path naming,-is the preferred method, so this isn't a major issue; but suggestions would be very very handy on how to solve this potential issue. I need a character or group of characters that drupal will not allow to be used in a path, but apache & the file system understands.Comment #7
mikeytown2 commentedcommitted