GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BKT(1) User Commands BKT(1)

bkt - Subprocess caching utility

bkt [OPTIONS] --ttl <DURATION> -- <COMMAND>...

CLI and Rust library for caching subprocess invocations

<COMMAND>...
The command to run

Duration the cached result will be valid for [env: BKT_TTL=] [aliases: time-to-live]
Duration after which the result will be asynchronously refreshed
Asynchronously execute and cache the given command, even if it's already cached
Execute and cache the given command, even if it's already cached
Includes the current working directory in the cache key, so that the same command run in different directories caches separately [aliases: use-working-dir]
Includes the given environment variable in the cache key, so that the same command run with different values for the given variables caches separately [aliases: use-environment]
Includes the last modification time of the given file(s) in the cache key, so that the same command run with different modtimes for the given files caches separately [aliases: use-file-modtime]
Don't cache invocations that fail (non-zero exit code). USE CAUTION when passing this flag, as unexpected failures can lead to a spike in invocations which can exacerbate ongoing issues, effectively a DDoS
If set, all cached data will be scoped to this value, preventing collisions with commands cached with different scopes [env: BKT_SCOPE=]
The directory under which to persist cached invocations; defaults to the system's temp directory. Setting this to a directory backed by RAM or an SSD, such as a tmpfs partition, will significantly reduce caching overhead [env: BKT_CACHE_DIR=]
Print help
Print version
July 2025 bkt 0.8.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.