Name : perl-WebCache-Digest
| |
Version : 1.00
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 7.71
| Date : 2024-08-05 17:20:29
|
Group : Development/Libraries/Perl
| Source RPM : perl-WebCache-Digest-1.00-7.71.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Cache Digest implementation in Perl
|
Description :
This Perl module implements version 5 of the Cache Digest specification. For more information about Cache Digests, check out the Squid FAQ:
http://squid.nlanr.net/Squid/FAQ/FAQ-16.html
A copy of the specification is included with this distribution as the file _cache-digest-v5.txt_.
This code has been benchmarked on a 400MHz PII running Linux at 1866 lookups per second (or 112000 per minute, 560000 in five minutes), with a cache digest of 500000 URLs.
Cache Digests are summaries of the contents of WWW cache servers, which are made available to other WWW caches and may also be used internally within the server which generates them. They allow a WWW cache server such as Squid to determine whether or not a particular Internet resource (designated by its URL and the HTTP method which is being used to fetch it) was cached at the time the digest was generated. Unlike other mechanisms such as the Internet Cache Protocol (ICP - see RFC 2186), Cache Digests do not generate a continuous stream of request/response pairs, and do not add latency to each URL which is looked up.
Since we provide routines to both lookup URLs in Cache Digests and also register them in Cache Digests, it should be trivial to use this code to devise innovative applications which take advantage of Cache Digests to fool genuine WWW caches into treating them like WWW caches. For example, mirror servers could register all the URLs which they\'re aware of for the resources they mirror, so that cache servers which peer with them will always get a cache \'hit\' on the mirror server for any reference to any of the mirrored resources.
We also provide methods to store Cache Digests to disk and load them back in again, in addition to creating new Digests and fetching them from WWW caches which support the protocol. This can be used to take a \'snapshot\' of the state of a WWW cache at any particular point in time, or for saving state if building a Cache Digest powered server.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/openSUSE_Tumbleweed/noarch |