pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

Store etag So Downloads Use Cache

Open kunalgoyal9 opened this issue 3 years ago • 1 comments

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

kunalgoyal9 avatar Nov 10 '22 11:11 kunalgoyal9

  • Add etag support to cache
  • Fix mtime check for 304 response

what-the-diff[bot] avatar Nov 11 '22 09:11 what-the-diff[bot]

In the end, this was good work, thanks @kunalgoyal9

mxcl avatar Nov 18 '22 22:11 mxcl