Andy Alkaline (GravityIsForSucker) Level 4
Cruiser
Member Since: 08/20/05
Forum Posts: 169
Re: Alexa Posted on 10/04/05 at 23:36:26 GMT
Jos wrote: I wound up adding a code for caching my xml feeds for that same reason. I couldn't get the timeout code to work in my XML::RSS and ::Parser. Maybe I should look at the code for Magpie again. I have it here. But it's working pretty well now with it caching, except for once per hour. If it's not there at the one hour mark, it slows things down, because that is when mine caches.
I forgot to mention that MagPieRSS has a caching thing built into it. The one for you I have on my computer humor page is set to update once a day. But I think there is also a setting that if there is no new articles after the set duration, it will use a variable called MAX_CACHE_AGE and still use the cache after the 24 hour period. I haven't observed it closely enough, not sure yet what that MAX_CACHE_AGE is for. There's a separate one to specifiy the amount of time between checks.
-----------------
Blasphology 1007 - "Money can indeed buy happiness, but it will be heavily taxed."
This site was made with WebAPP Web Automated Perl Portal systemv0.9.9.9 RC4 , a web portal system written in Perl.
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the Poster.