• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Kikobeats / cacheable-response / 39267087272
99%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 02:14PM UTC
Jobs 1
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Oct 2026 02:13PM UTC coverage: 99.433% (+0.8%) from 98.662%
39267087272

push

github

web-flow
fix: honor per-entry ttl on compressed cache entries (#149)

* fix: honor per-entry ttl on compressed cache entries

memoize reads ttl and staleTtl from the stored value. Brotli stores a
Buffer, so those fields were dropped and every compressed entry kept
the default lifetime: a 1s ttl stayed a HIT for most of the 24h default
and never entered the stale window. Store the lifetimes beside the
payload and keep loading older raw buffers.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* fix: keep payload fields out of compressed cache lifetimes

Response headers read ttl through the envelope check, so a cached value
that already had a compressed field was sent with max-age=NaN.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>
Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com>

92 of 94 branches covered (97.87%)

Branch coverage included in aggregate %.

40 of 40 new or added lines in 1 file covered. (100.0%)

259 of 259 relevant lines covered (100.0%)

52.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39267087272.1 19 Oct 2026 02:14PM UTC 2
99.43
GitHub Action Run
Source Files on build 39267087272
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39267087272
  • df54794a on github
  • Prev Build on master (#34480776922)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc