arthurfiorette / axios-cache-interceptor

📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
https://axios-cache-interceptor.js.org
MIT License
703 stars 58 forks source link

[must-revalidate] properly revalidate based on eTag #824

Closed edwinveldhuizen closed 7 months ago

edwinveldhuizen commented 7 months ago

Fixes https://github.com/arthurfiorette/axios-cache-interceptor/issues/822 and by fixing https://github.com/arthurfiorette/axios-cache-interceptor/issues/507 in a different fashion

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.26%. Comparing base (e9d05ed) to head (039da87). Report is 9 commits behind head on main.

:exclamation: Current head 039da87 differs from pull request most recent head 2916549. Consider uploading reports for the commit 2916549 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #824 +/- ## ========================================== - Coverage 99.29% 99.26% -0.03% ========================================== Files 19 19 Lines 2400 2449 +49 Branches 211 214 +3 ========================================== + Hits 2383 2431 +48 - Misses 16 17 +1 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

arthurfiorette commented 7 months ago

thanks!