Name : perl-LWP-UserAgent-Cached
| |
Version : 0.08
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 15:35:21
|
Group : Development/Libraries/Perl
| Source RPM : perl-LWP-UserAgent-Cached-0.08-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : LWP::UserAgent with simple caching mechanism
|
Description :
When you process content from some website, you will get page one by one and extract some data from this page with regexp, DOM parser or smth else. Sometimes we makes errors in our data extractors and realize this only when all 1_000_000 pages were processed. We should fix our extraction logic and start all process from the beginning. Please STOP! How about cache? Yes, you can cache all responses and second, third and other attempts will be very fast.
LWP::UserAgent::Cached is yet another LWP::UserAgent subclass with cache support. It stores cache in the files on local filesystem and if response already available in the cache returns it instead of making HTTP request. This module was writed because other available alternatives didn\'t meet my needs:
* LWP::UserAgent::WithCache
caches responses on local filesystem and gets it from the cache only if online document was not modified
* LWP::UserAgent::Cache::Memcached
same as above but stores cache in memory
* LWP::UserAgent::Snapshot
can record responses in the cache or get responses from the cache, but not both for one useragent
* LWP::UserAgent::OfflineCache
seems it may cache responses and get responses from the cache, but has too much dependencies and unclear `delay\' parameter
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-L/15.5/noarch |