Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Plugin for visionmedia/superagent that adds headers to all requests that prevents caching.
JavaScript Makefile
branch: master

Merge pull request #7 from therebelrobot/feature/add-tests

Adds tests, fixes npm usage, a bit of cleanup
latest commit d9239b6650
@johntron authored

Readme.md

superagent-no-cache

Plugin for visionmedia/superagent that adds headers to all requests that prevents caching

Note: Until TJ merges my pull request adding plugin support, you must use johntron/supermedia

Installation

Install with component(1):

$ component install johntron/superagent-no-cache

API

var request = require('request'),
    no_cache = require('superagent-no-cache');

request.get('/url')
    .use(no_cache)
    .end(function () {
        // do something
    });

License

MIT

Something went wrong with that request. Please try again.