Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Views
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2009 at 19:40 UTC
Updated:
26 Oct 2009 at 06:40 UTC
Jump to comment: Most recent file
If a view no longer contains that node; this would allow for that to be updated.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | boost-601086.patch | 8.28 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedStore the time stamp too; will allow for smarter operations if the view shrinks in size. If the time stamp for that entry doesn't match the rest, then its old and needs to be cleared. Something like 5x older then the expiration. Older then 3 days would be the minimum. Trim on cron; update on cache creation.
Comment #2
mikeytown2 commentedBetter yet, instead of flushing it, check the actual view first; only if the view no longer contains the node will that entry be removed.
Comment #3
mikeytown2 commentedBest idea today... remove the entires from the relationship table when that view is flushed. Still need the other parts of this though, just makes the odds of something falling through the cracks even less.
Comment #4
mikeytown2 commentedCovers all cases expect for when a view shrinks in size (using pager; url no longer valid)... will have to cover that somehow; most likely a timestamp db scan on cron. Open to idea on this one. Alt would be a hook for views inside boost_cache_kill(), but thats not 100% accurate then.
Comment #5
mikeytown2 commentedcommitted