The cache holds a number of files whose bytes fit into its size_limit. The cache acts as a proxy to the filesystem, returning cached files if they are in the cache, or reading a file directly from the filesystem if the file is not in the cache.
A builder for Caches.
Error types that can be encountered when a cache is built.
Wrapper around data that can represent a file - either in memory (cache), or on disk.
This priority function will value files in the cache based solely on the number of times the file was accessed.
The default priority function used for determining if a file should be in the cache.
Priority is calculated as the size times the access count.
Favor small files with respect to the number of times file was accessed.
Favor small files without respect to the number of times file was accessed.