Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Magpie RSS Caching
July 23, 2006, 8:58 pm
rate this thread
I am using Magpie RSS and want to change the Caching period to half an
hour instead of one hour.
I have modified the line in RSS_CACHE.INC so that it reads:
var $MAX_AGE = 900; // when are files stale, default one
but this doesn't seem to have any effect. It still only gets a fresh
version of the file every hour.
Re: Magpie RSS Caching
Don't modify the source code of Magpie, use the configuration options
supplied. IIRC, Magpie uses a constant for the caching period, which it sets to
a default value, which you can then override. The default value of the variable
you've modified only takes effect if the constant isn't defined at all.
Andy Hassall :: firstname.lastname@example.org :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool