| NETCACHE(1) | General Commands Manual | NETCACHE(1) |
netcache — local
Internet cache handler for offpunk
netcache |
[--path] [--ids]
[--offline] [--max-size
MAX_SIZE] [--timeout
TIMEOUT] [URL ...] |
netcache |
-h | --help |
Netcache is a command-line tool to retrieve, cache and access networked content. By default, netcache will returns a cached version of a given URL, downloading it only if a cache version doesn't exist. A validity duration, in seconds, can also be given so netcache downloads the content only if the existing cache is older than the validity.
Netcache can be forced into offline mode, in order to only fetch resources from the local cache, otherwise it would always refresh it from the version available online. It is also useful for mapping a given URL to its location in the cache, independently of whether it has been downloaded first.
-h,
--help--path--ids--offline--max-size
MAX_SIZE--timeout
TIMEOUT--cache-validity
-CACHE_VALIDITYThe netcache utility exits 0 on
success, and >0 if an error occurs.
Set OFFPUNK_CACHE_PATH environment
variable to use another location.
OFFPUNK_CACHE_PATH=/home/ploum/custom-cache netcache.py gemini://some.url
Default cache path is ~/.cache/offpunk.
ansicat(1), migrate-offpunk-cache(1), offpunk(1), opnk(1), https://offpunk.net/
| November 25, 2024 | Debian |