Check whether or not a HTTP response is cacheable
npm install is-cacheable

Check whether or not a HTTP response is cacheable based in its headers.
``js
var isCacheable = require('is-cacheable')
var request = require('request')
request('http://example.com', function (err, res, body) {
console.log('Is response cacheable?', isCacheable(res.headers))
})
`
is-cacheable is an OPEN Open Source Project. This means that:
> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
See the contribution guide for more details.
| Phillip Johnsen | GitHub/phillipj | Twitter/@phillipjohnsen |
|---|
Got lots of inspiration from https://github.com/kevinswiber/request-caching
Copyright © 2015 is-cacheable contributors.
is-cacheable is licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md` file for more details.