Alien::Build::Plugin::Fetch::Cache - Alien::Build plugin to cache files downloaded from the internet
This is a Alien::Build plugin that caches the files that you download from the internet, so that you only have to download them once. Handy when doing development of an Alien distribution. Not a particularly smart cache. Doesn't ignore or expire old entries. You have to remove them yourself. They are stored in
As mentioned, not a sophisticated cache. Patches welcome to make it smarter. There are probably lots of corner cases that this plugin doesn't take into account, but it is probably good enough for most Alien usage.
If set to a true value, then this plugin will precache all files that match the appropriate pattern in the alienfile.
This can be helpful if you are developing a prefer plugin or filter and will be off-line for the development.
Be careful, if no pattern is specified you could end up downloading the entire internet!
Alien::Build, alienfile, Alien::Base
Graham Ollis <email@example.com>
This software is copyright (c) 2017-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.