connect-guard
Connect middleware that short circuits request handling if it can send a 304 Not Modified response. Intended to be used with reverse proxies like Varnish.
Last updated 5 years ago by randypuro .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install connect-guard 
SYNC missed versions from official npm registry.

Guard NPM version Build Status

Guard is connect middleware that short circuits request handling if it can send a 304 Not Modified response. Intended to be used with reverse proxies like Varnish.

Status

Work in-progress. Hold off for a bit.

Stores

Guard can store request and response information wherever you like. In memory is the default. If your site hosts lots of unique URLs, a DB is probably a better choice. Choose one of the following stores, or write your own.

Contributing

$ git clone https://github.com/goodeggs/connect-guard && cd connect-guard
$ npm install
$ npm test

Current Tags

  • 0.2.0                                ...           latest (5 years ago)

9 Versions

  • 0.2.0                                ...           5 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.0.6                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (6)

Copyright 2014 - 2016 © taobao.org |