Skip to content
JS
Package

http-cache-semantics

Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies

v4.2.0, 9 May 2025BSD-2-ClauseCommonJSTypes: Bundled
$ npm install http-cache-semantics

Key numbers

As of 25 Sept 2026
Weekly downloads
37.3m
+44% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v4.2.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 70.6m (16 Jun 2026)Low 16.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

37,281,559 downloads last week, 179,753,072 in the last month. The 12-month change of +44% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
027 in total
Latest version
4.2.0, 9 May 20251 year ago
First published
31 May 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
607

Major versions

  1. v4 first release 4.0.0, 21 Apr 2018
  2. v3 first release 3.0.0, 31 May 2016
  3. v2 first release 2.0.0, 31 May 2016
  4. v1 first release 1.0.0, 31 May 2016

Recent releases

VersionPublished
4.2.09 May 2025
4.1.127 Jan 2023
4.1.01 Mar 2020
4.0.410 Feb 2020
4.0.310 Feb 2019
4.0.29 Jan 2019
4.0.127 Nov 2018
4.0.021 Apr 2018
3.8.11 Dec 2017
3.8.012 Oct 2017
3.7.39 Apr 2017
3.7.12 Apr 2017
3.7.01 Apr 2017
3.6.123 Mar 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
49 kB
Dependencies (0)
None
npm install http-cache-semantics
  • jsDelivrhttps://cdn.jsdelivr.net/npm/http-cache-semantics@4.2.0/
  • unpkghttps://unpkg.com/http-cache-semantics@4.2.0/
  • esm.shhttps://esm.sh/http-cache-semantics@4.2.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.