Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Predictive HTTP caching in Perlby ryantate (Friar) |
on May 03, 2006 at 05:53 UTC ( [id://547065]=note: print w/replies, xml ) | Need Help?? |
That is exactly how I was planning to update the cache, but the question is concerning how I figure out *when* to update the cache.
I'm also planning to use Keep-Alive in cases where I need multiple items from the same server, if that's of interest to you as well. But it's sort of beside the point. And yes, it would be worth it to save a couple of seconds, if I learned lessons that would let me implement such a cache for an arbitrary collection of Web pages for an arbitrary user. The difference between 1-2 seconds response time and 5-10 seconds makes all the difference in the world for a Web application. Obviously, with multiple users, the value of a conventional cache goes up. But I am interested in pre-fetching, so I reduced my question to the simplest case (which happens to be the only real one at the moment).
In Section
Seekers of Perl Wisdom
|
|