{"library":"cache-immutable","type":"library","category":null,"description":"A minimalist Node.js library that sets HTTP response headers to cache content for a long time (one year). Version 1.0.2 is the latest stable release, with no active development since 2016. The library sets Cache-Control: max-age=31536000 and omits Expires and Pragma headers, relying on HTTP/1.1 best practices where max-age overrides Expires. It is intended for immutable static assets. Unlike more complex caching libraries, it provides a single function with no configuration, making it ideal for simple use cases.","language":"javascript","status":"maintenance","version":"1.0.2","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-immutable","imports":["import cacheImmutable from 'cache-immutable'","const cacheImmutable = require('cache-immutable')","import cache from 'cache-immutable'"]},{"cmd":"yarn add cache-immutable","imports":[]},{"cmd":"pnpm add cache-immutable","imports":[]}],"homepage":"https://github.com/kemitchell/cache-immutable.js#readme","github":"https://github.com/kemitchell/cache-immutable.js","docs":null,"changelog":null,"pypi":null,"npm":"cache-immutable","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}