Expand description
Card art on disk, keyed by the path below cards.scryfall.io so a request
path maps straight to a file. That is what lets one machine serve its cache
to another.
Re-exports§
pub use server::ArtServer;
Modules§
- server
- Serving a card art cache to a network, so only one machine in a group has to have gone online.
Structs§
Constants§
Functions§
- cancel_
download - Stops a running
ImageCache::download_all. - key_
from_ request_ path - The path a
/scryfall-img/request is asking for. The query and fragment go the waykey_from_urlalready drops them: on the LAN listener this is the only thing shaping network input beforepath_forsees it. - key_
from_ url - The cache key inside a full CDN url.
- mime_
for