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

restify-etag-cache

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restify-etag-cache - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "restify-etag-cache",
"version": "1.0.1",
"version": "1.0.2",
"description": "Restify ETag Cache. The easy way.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -11,3 +11,16 @@ # restify-etag-cache

TO DO
It works as a middleware, so its very easy to use the library:
`
var restify = require('restify');
var restifyEtagCache = require('restify-etag-cache');
var server = restify.createServer();
server.use(restifyEtagCache());
`
Its all ;)
The server will reply HTTP status code 304 (Not Modified) when it detects that the client already have the latest content version.
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