npm.io
2.3.5 • Published 4d ago

@tryghost/http-cache-utils

Licence
MIT
Version
2.3.5
Deps
0
Vulns
0
Weekly
0
Stars
37

Http Cache Utils

Set of HTTP caching related utilities and constants

Install

npm install @tryghost/http-cache-utils --save

or

pnpm add @tryghost/http-cache-utils

Purpose

Utilities for cache-control logic, including user-specific response detection and cache directive helpers.

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run pnpm install to install top-level dependencies.

Test

  • pnpm lint runs oxlint
  • pnpm test runs lint and tests

Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.