Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Caching logic
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2009 at 13:00 UTC
Updated:
29 Oct 2009 at 02:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedLooks like I need to replace glob with a database operation.
In short the front page rss feed is called feed_.xml in the boost cache; the html is called _.html. Doing a file search for the front page doesn't work too well in this case.
Comment #2
mikeytown2 commentedboost_cache_expire_derivative() will have to be redone; boost_cache_expire() might be killed. boost_cache_expire_derivative() will directly call boost_cache_kill().
When boost_cache_expire_derivative() is called will find aliases & redirects so it can find a matching filename in the database. Once a match is found, it then gets the page_callback, page_arguments and page_id; searching the database that match all 3. These are the files in the cache that need to be expired. Should cover html, xml, and ajax & url variables.
Comment #3
mikeytown2 commentedThis patch is for the latest dev. It can't be done very easily without the latest changes that have gone in.
Comment #4
mikeytown2 commentedcommitted
Comment #5
hadsie commentedThanks! Just updated to the .11 version, I'll report back if I have any problems.
Comment #6
hadsie commentedAfter updating it still seems like the issue is there. Should I be using the dev version to resolve this?
Comment #7
mikeytown2 commentedNo, I'll have to write in a special front page handler. What's the URL of your front page feed?
Comment #8
mikeytown2 commentedit's
/rss.xmlcorrect?Only holds content promoted to the front page right?
Comment #9
mikeytown2 commentedfixed some bugs in here as well.
Comment #10
mikeytown2 commentedmore bug fixing...
Comment #11
mikeytown2 commentedcommitted
Comment #12
hadsie commentedthat's right, it's the promoted to front page stuff. i'll try out this fix shortly, thanks so much!
Comment #13
mikeytown2 commentedgrab 6.x-1.12 ;)