Skip to content

goodeggs/connect-guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published