good-guy-disk-cache2.1.0 • Public • Published
Disk cache adapter for Good Guy HTTP.
Cache your HTTP(S) requests like a gentleman. For use with Good Guy HTTP. Depends on Async Disk Cache.
var DiskCache = ;var GoodGuy = ;var diskCache = "my-cache";// 'my-cache' also serves as the global key for the cache.// if you have multiple programs with this same `cache-key` they will share the// same backing store. This by design.var goodGuy = ;// this request will get its response cached to disk, will be retried if it// fails, will be collapsed if you happen to make two of them;