static-http-cache

Crates.iostatic-http-cache
lib.rsstatic-http-cache
version0.3.0
sourcesrc
created_at2018-02-09 06:47:45.48404
updated_at2023-06-14 14:05:18.725865
descriptionA local cache for static HTTP resources
homepage
repositoryhttps://gitlab.com/Screwtapello/static_http_cache
max_upload_size
id50299
size98,165
(Screwtapello)

documentation

README

static_http_cache, a local disk cache for static HTTP resources

TODO

  • proper error reporting
  • record usage counts and dates for entries in the cache, so we can automatically clean them up.
  • make sure each public type's interface is defined by a trait.
  • Cache::get() needs a callback to report download progress.
  • if Cache::get() updates the locally cached data, it should delete the file containing the stale data.
  • Add support for other caching-relevant headers, like Expires or Cache-Control.
  • Support "freshness", so we can sometimes answer from the cache without having to talk to the remote server at all.
  • Add support for limiting cache size, so we automatically remove old data if the cache gets too big.
Commit count: 66

cargo fmt