Opened 16 years ago
Closed 16 years ago
#9926 closed defect (bug) (fixed)
SimplePie - Use Constant for Cache-Age
Reported by: | neoxx | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Feeds | Keywords: | feed, simplepie |
Focuses: | Cc: |
Description
It's good we finally got SimplePie instead of Magpie Rss. Nevertheless, I think the implementation of the cache (refresh) time could be better. - Why not have a constant like CACHE_AGE (as we had for Magpie Rss) or a filter which is used in feed.php / fetch_feed() and class-feed.php / save() and touch().
In that way, users or plugins could also influence the caching behavior and use the new functionality for their needs.
Attachments (1)
Change History (5)
#2
@
16 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
westi, thanks for the quick fix!
in addition i attached a patch which makes fetch_feed more flexible. - maybe we could also use a filter. - what do you think?
Note: See
TracTickets for help on using
tickets.
(In [11446]) Allow plugins to filter the expiration time of the SimplePie cache. Fixes #9926.