Skip to main content

Module disk_cache

Module disk_cache 

Source

Structsยง

DiskCache ๐Ÿ”’
A struct representing the disk cache.
DiskCacheInner ๐Ÿ”’
This data structure will be per HttpCacheAssignment. Currently, we only store HttpCacheAssignment::Public and otherwise return zero. As this data structure stores the state of the cache, if other instances share the same sqlite database, special care has to be taken to ensure conistency.
DiskCacheMetadata ๐Ÿ”’

Enumsยง

DiskCacheTable ๐Ÿ”’
Identifications for sea_query of the cache table.

Functionsยง

storage_dir ๐Ÿ”’
Get the storage path out of network_http_disk_cache preference and temporary_storage option.