Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Cassandra provider for the extensible HTTP caching library http-cache.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
scripts
test
vs
.gitattributes
.gitignore
.travis.yml
LICENSE.txt
README.md
config.json.COPY
coverage.html
index.js
package.json

README.md

http-cache

NPM version

About

A Cassandra provider for the extensible HTTP caching library http-cache.

See the core http-cache project for full documentation:

https://npmjs.org/package/http-cache

Install

npm install http-cache
npm install http-cache-cassandra

https://npmjs.org/package/http-cache-cassandra

Create Table

CREATE TABLE httpCache
(
    host text,
    path text,
    cache text,
    expires bigint,
    PRIMARY KEY (host, path)
);

Tests & Code Coverage

Install latest:

git clone https://github.com/godaddy/node-http-cache-cassandra.git
cd node-http-cache-cassanra
npm install

Rename 'config.json.COPY' to 'config.json' and provide the proper credentials for testing.

npm test

Now you can view coverage using any browser here:

coverage/lcov-report/index.html

License

MIT

Something went wrong with that request. Please try again.