06chaynes / http-cache

A caching middleware that follows HTTP caching rules
https://http-cache.rs/
Apache License 2.0
69 stars 17 forks source link

add initial implementation of per request cache mode #53

Closed veeshi closed 1 year ago

veeshi commented 1 year ago

Initail implementation for https://github.com/06chaynes/http-cache/issues/25

codecov[bot] commented 1 year ago

Codecov Report

Merging #53 (5c8ce5f) into main (4342544) will increase coverage by 0.14%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   92.38%   92.53%   +0.14%     
==========================================
  Files          11       11              
  Lines         959     1031      +72     
==========================================
+ Hits          886      954      +68     
- Misses         73       77       +4     
Files Coverage Δ
http-cache-reqwest/src/lib.rs 79.83% <100.00%> (+0.70%) :arrow_up:
http-cache-reqwest/src/test.rs 99.47% <100.00%> (+0.12%) :arrow_up:
http-cache-surf/src/lib.rs 88.46% <100.00%> (+0.46%) :arrow_up:
http-cache-surf/src/test.rs 100.00% <ø> (ø)
http-cache/src/lib.rs 88.57% <100.00%> (-0.32%) :arrow_down:
http-cache/src/test.rs 99.43% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more