Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Code parser_simplepie
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2008 at 01:13 UTC
Updated:
3 Jan 2009 at 11:20 UTC
My feeds weren't updating on Refreshes consistently, so I suspected something was being cached somewhere. Sure enough, lines 53-54 in parser_simplepie.module suggest to disable simplepie caching:
// Here we do not allow caching. Otherwise simplepie's cache prevents FeedAPI to process the feed $parser = _parser_simplepie_get_parser($url, FALSE);
Problem is, despite that comment and passed boolean parameter (FALSE), the _parser_simplepie_get_parser function is defined with only 1 passed argument ($url).
I created a patch to honor this boolean parameter and disable simplepie caching. This worked for me as expected. Curious if anyone else has encountered this issue?
| Comment | File | Size | Author |
|---|---|---|---|
| simplepie_enablecache.patch | 1.16 KB | srhaber |
Comments
Comment #1
alex_b commentedThe second part of the patch
Looks sane to me.
But I don't think we should turn off caching altogether:
How often do your feeds change? Wheren't they not updating over a long time? Did you try deleting the entire cache and did the problem still persist _after_ the first time refreshing?
Comment #2
aron novakThe most of this patch is committed. The caching is turned on by default of course.