http-cache-cassandra

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

npm install http-cache-cassandra
28 downloads in the last month

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

npm loves you