LWP::UserAgent with simple caching mechanism
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.
To install p5.28-lwp-useragent-cached, paste this in macOS terminal after installing MacPorts
sudo port install p5.28-lwp-useragent-cached