Revision history for CachingRSS


Revision [18719]

Last edited on 2008-01-28 00:12:33 by DarTar [Modified links pointing to docs server]

No Differences

Revision [12428]

Edited on 2005-12-26 10:26:45 by DarTar [adding category link]
Additions:
CategoryDevelopmentSyndication


Revision [941]

Edited on 2004-08-08 21:00:05 by DreckFehler [yepp, that's it]
Additions:
you got it! that's exactly what my feed-action does. the precise values are a matter of taste, i regard a default of 30 minutes as suitable. the job is done with a check if the parameter drops below a defined threshold (what a missing parameter actually does, an incorrect string parameter is taken likewise as zero). in those cases the argument is set to the default value, otherwise you can proceed with the given argument. it really is that simple. ;)
> Thanks for the MD5 suggestion.
the only //real// benefit is that the directory listing gets a daunting scientific look ;) but if you need to pick out a specific file (perhaps for debugging purposes) your former code is the better one.


Revision [939]

Edited on 2004-08-08 19:30:13 by JsnX [a few thoughts]
Additions:
Hmm... so if I'm understanding you correctly:
- Remove the ability for the user to specify the cache file. (done)
- Add a parameter that will allow some control over the cache time?
I like this idea. Maybe set the default to 15 minutes, but allow a parameter to bring this up or down. However, make it so the user can never go lower than a certain number, around 5 minutes.
Thanks for the MD5 suggestion. I had already added new code to use part of the parsed URL, but I like your suggestion better.
-- JsnX


Revision [938]

The oldest known version of this page was created on 2004-08-08 18:54:04 by DreckFehler [a few thoughts]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki