pkgx
pkgx copied to clipboard
Store etag So Downloads Use Cache
Storing Etag received from fetch API parallel to mtime file and passing this header to If-None-Match.
Fixing https://github.com/teaxyz/cli/issues/85
- Add etag support to cache
- Fix mtime check for 304 response
In the end, this was good work, thanks @kunalgoyal9