webp-sh / webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.
https://docs.webp.sh
GNU General Public License v3.0
1.83k stars 175 forks source link

Implement fiber etag middleware to replace etag generation #218

Closed bugfest closed 1 year ago

bugfest commented 1 year ago

Partial fix for #213 reported (etag) issues

codecov[bot] commented 1 year ago

Codecov Report

Merging #218 (a432398) into master (9efead2) will decrease coverage by 1.74%. The diff coverage is 81.17%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   83.57%   81.84%   -1.74%     
==========================================
  Files           6        6              
  Lines         542      617      +75     
==========================================
+ Hits          453      505      +52     
- Misses         61       76      +15     
- Partials       28       36       +8     
Impacted Files Coverage Δ
encoder.go 67.03% <68.88%> (-10.11%) :arrow_down:
router.go 92.98% <94.73%> (+3.29%) :arrow_up:
config.go 100.00% <100.00%> (ø)
helper.go 87.89% <100.00%> (-0.87%) :arrow_down:
prefetch.go 100.00% <100.00%> (ø)
webp-server.go 78.78% <100.00%> (+1.61%) :arrow_up:

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