Is it really worth your time to save a couple of seconds?
You could cache the data, then send conditional GET requests to fetch the resources whenever you need them. If the server tells you the page hasn't been updated, you use the cache. If it has been updated, the server sends you the new data and you use that.
In reply to Re: Predictive HTTP caching in Perl
by brian_d_foy
in thread Predictive HTTP caching in Perl
by ryantate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |