Skip to content

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

Notifications You must be signed in to change notification settings

PatrickJS/superagent-no-cache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.5%
  • Makefile 30.5%