http-stale-cache-proxy
http-stale-cache-proxy copied to clipboard
A non-compliant HTTP caching proxy that excels at serving stale cached content, while keeping its cache updated asynchronously.
very generic in readme but lets you use stuff like https://www.npmjs.com/package/http-proxy-rules closes #4
Repo is using `fs.mkdirRecursiveSync`, `fs.existsSync`, `fs.statSync` and `fs.renameSync`. We should change them to async.
I do not understand what is the purpose of predefining a target in the configuration. ``` js var httpStaleCacheProxy = require('http-stale-cache-proxy'); httpStaleCacheProxy.createServer({ changeOrigin: true, target: { host: 'example.com', port: 80,...
I get the following error when i try to use a simple cache same as sample code in main page It works fine at first, but the exception gets throw...
Feature request: Implement "something" against a webserver stampede. If many Requests are made it seems everyone ist forwarded to the webserver. Especially with "expensive" requests it would be interesting to...