Expand description
The conditional-GET download cache stores ETag / Last-Modified
next to each cached file and revalidates with If-None-Match /
If-Modified-Since; a 304 reuses the cache untouched.
Functionsยง
- fetch
- Fetches
urlintocache_dir, revalidating any cached copy, and returns the cached file path. When offline with a cached copy present, it warns and reuses the copy.