Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including connect-cdncache with all npm packages installed. Try it out:

var connectCdncache = require("connect-cdncache")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

connect-cdncache v0.0.2

Work with your CDN cache

connect-nocache

Add nocache=true to your GET requests and it'll bust through all your caches.

$ http://localhost/foo?nocache=true

Usage

Get it via npm:

$ npm install connect-nocache

And then use it in your code (here, coffeescript):

app.use connect_nocache()

Contributing

Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).

Copyright

Copyright (c) 2011 Dotan Nahum @jondot. See MIT-LICENSE for further details.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free