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

Kikobeats / cacheable-response
99%

Build:
DEFAULT BRANCH: master
Repo Added 22 Feb 2019 10:11AM UTC
Files 2
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • background
  • boolean
  • compress
  • cursor/critical-bug-investigation-7802
  • cursor/critical-bug-investigation-87a9
  • cursor/critical-bug-investigation-8fdc
  • cursor/critical-bug-investigation-a0e5
  • cursor/critical-bug-investigation-cfda
  • cursor/critical-bug-investigation-ec08
  • cursor/critical-bug-investigation-fbca
  • cursor/critical-bug-management-5e52
  • cursor/critical-bug-management-7f91
  • cursor/critical-bug-management-c688
  • cursor/critical-bug-management-d14b
  • cursor/critical-bug-management-f604
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/pnpm/action-setup-5
  • dependabot/github_actions/pnpm/action-setup-6
  • dependabot/npm_and_yarn/keyvhq/core-2.2.7
  • dependabot/npm_and_yarn/keyvhq/memoize-2.2.1
  • dependabot/npm_and_yarn/normalize-url-5.0.0
  • dependabot/npm_and_yarn/normalize-url-5.1.0
  • dependabot/npm_and_yarn/normalize-url-5.3.0
  • dependabot/npm_and_yarn/pretty-ms-6.0.0
  • dependabot/npm_and_yarn/pretty-ms-7.0.0
  • etag
  • examples
  • fix/memoize-stale-bypass
  • footprint
  • greenkeeper/compress-brotli-1.0.2
  • greenkeeper/compress-brotli-1.0.3
  • greenkeeper/compress-brotli-1.0.4
  • greenkeeper/compress-brotli-1.0.6
  • greenkeeper/compress-brotli-1.0.7
  • greenkeeper/initial
  • greenkeeper/normalize-url-4.3.0
  • greenkeeper/pretty-ms-5.0.0
  • invalidation
  • master
  • next
  • serialize
  • stale
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.1.5
  • v1.1.6
  • v1.10.0
  • v1.10.1
  • v1.10.2
  • v1.2.0
  • v1.2.1
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v1.6.0
  • v1.6.1
  • v1.6.10
  • v1.6.11
  • v1.6.12
  • v1.6.2
  • v1.6.3
  • v1.6.4
  • v1.6.5
  • v1.6.6
  • v1.6.7
  • v1.6.8
  • v1.6.9
  • v1.7.1
  • v1.7.2
  • v1.7.3
  • v1.7.4
  • v1.7.5
  • v1.8.0
  • v1.9.0
  • v1.9.1
  • v1.9.2
  • v2.0.0
  • v2.0.1
  • v2.0.10
  • v2.0.2
  • v2.0.3
  • v2.0.4
  • v2.0.5
  • v2.0.6
  • v2.0.7
  • v2.0.8
  • v2.0.9
  • v2.1.0
  • v2.1.1
  • v2.1.2
  • v2.1.3
  • v2.1.4
  • v2.1.5
  • v2.1.6
  • v2.1.7
  • v2.1.9

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

Relevant lines Covered
Build:
Build:
259 RELEVANT LINES 259 COVERED LINES
52.92 HITS PER LINE
Source Files on master
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39267087272 master 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 en... push 19 Oct 2026 02:14PM UTC web-flow github
99.43
39242068772 cursor/critical-bug-management-d14b Merge 450ace469 into 880e3d785 Pull #149 19 Oct 2026 11:05AM UTC web-flow github
99.43
39199045237 cursor/critical-bug-management-d14b Merge fcedea93a into 880e3d785 Pull #149 19 Oct 2026 04:21AM UTC web-flow github
98.84
34480776922 master fix: persist default createdAt so HIT max-age can shrink (#148) * fix: persist default createdAt so HIT max-age can shrink Cache-Control max-age is createdAt + ttl - now. The documented Date.now() default was applied at read time, so every HIT l... push 10 Sep 2026 01:08PM UTC web-flow github
98.66
34446434702 cursor/critical-bug-management-c688 Merge 7c03c4d7e into cb0601c63 Pull #148 10 Sep 2026 06:43AM UTC web-flow github
98.66
34446141626 master chore: tweaks push 10 Sep 2026 06:39AM UTC Kikobeats github
98.64
34435952834 cursor/critical-bug-management-c688 Merge d8de05557 into 604289871 Pull #148 10 Sep 2026 04:08AM UTC web-flow github
98.66
33366659063 master fix: detect force bypass when req.query is a raw query string (#146) * fix: detect force bypass when req.query is a raw string router-http stores the raw query string on req.query. hasQueryParameter treated any truthy value as a parsed object, s... push 31 Aug 2026 07:03AM UTC web-flow github
98.64
33365270464 cursor/critical-bug-management-f604 Merge a4e289ab8 into 04b914f33 Pull #146 31 Aug 2026 06:42AM UTC web-flow github
98.64
33038583585 cursor/critical-bug-management-f604 Merge ed71d8d93 into 04b914f33 Pull #146 27 Aug 2026 04:10AM UTC web-flow github
98.65
See All Builds (411)
  • Repo on GitHub
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