New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cacheable-response

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheable-response - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.2.0"></a>
# [1.2.0](https://github.com/Kikobeats/cacheable-response/compare/v1.1.6...v1.2.0) (2019-03-12)
### Features
* add must-revalidate directive ([0ca286f](https://github.com/Kikobeats/cacheable-response/commit/0ca286f))
<a name="1.1.6"></a>

@@ -7,0 +17,0 @@ ## [1.1.6](https://github.com/Kikobeats/cacheable-response/compare/v1.1.5...v1.1.6) (2019-03-04)

2

index.js

@@ -33,3 +33,3 @@ 'use strict'

'Cache-Control',
`public, max-age=${maxAge}, s-maxage=${maxAge}, stale-while-revalidate=${
`public, must-revalidate, max-age=${maxAge}, s-maxage=${maxAge}, stale-while-revalidate=${
hasForce ? 0 : toSeconds(revalidate(ttl))

@@ -36,0 +36,0 @@ }`

@@ -5,3 +5,3 @@ {

"homepage": "https://nicedoc.io/Kikobeats/cacheable-response",
"version": "1.1.6",
"version": "1.2.0",
"main": "index.js",

@@ -8,0 +8,0 @@ "author": {

@@ -261,2 +261,3 @@ # cacheable-response

- [The Benefits of Microcaching, by NGINX](https://www.nginx.com/blog/benefits-of-microcaching-nginx/).
- [Cache-Control for Civilians, by Harry Robert](https://csswizardry.com/2019/03/cache-control-for-civilians/)

@@ -263,0 +264,0 @@ ## License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc