<![CDATA[ REVO - getFeed, and caching issues... - My Forums]]> https://forums.modx.com/thread/?thread=37872 <![CDATA[Re: REVO - getFeed, and caching issues...]]> https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-440042 opengeek Oct 14, 2012, 08:58 AM https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-440042 <![CDATA[Re: REVO - getFeed, and caching issues...]]> https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-440035 EDIT 23-11-2012: This does not seem to work unfortunately.

For anyone using getFeed and want to adjust the caching time: go to core/model/modx/xmlrss/rssfetch.class.php line 348

if ( !defined('MAGPIE_CACHE_AGE') ) {
        define('MAGPIE_CACHE_AGE', 60*60); // one hour


Change 60*60 to something you prefer.

Maybe you can also set a key MAGPIE_CACHE_AGE in the system settings, but I am not able to test this right now.

(I use getFeed one some installations for fetching a twitter RSS feed, but by default new tweets are not showing up because of this 60min cache. But next time you can better use spiefeed for fetching (twitter) feeds [http://rtfm.modx.com/display/ADDON/spieFeed])]]>
michelle84 Oct 14, 2012, 05:43 AM https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-440035
<![CDATA[Re: REVO - getFeed, and caching issues...]]> https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214065 http://bugs.modx.com/ -- I’ll add one for getFeed itself to be able to take advantage of whatever configuration needs to be done to make the caching mutable.]]> opengeek Oct 19, 2010, 09:27 AM https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214065 <![CDATA[Re: REVO - getFeed, and caching issues...]]> https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214064 gardiol Oct 19, 2010, 05:12 AM https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214064 <![CDATA[Re: REVO - getFeed, and caching issues...]]> https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214063 holeinmysock Oct 19, 2010, 04:10 AM https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214063 <![CDATA[REVO - getFeed, and caching issues...]]> https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214062 Hi!

i am using getFeed to show, on my main page, an extract of my RSS feed. The feed is another page in my site (actually generated using getResource).

Everything works, but it seems that the data is cached and i cannot get rid of the cache.

The RSS feed page is marked "uncacheable", getResource is called with !, getFeed is called with !...

It does not even works when i do Site -> Clear Cache... i have to manually EMPTY my cache folder!

Please help, or at least point me to some reousrces to understand what goes no.

(note: even not using getResources but handing the rss my hand have the same problem...)
]]>
gardiol Oct 07, 2010, 09:41 AM https://forums.modx.com/thread/37872/revo---getfeed-and-caching-issues#dis-post-214062