top

Package proxycache registers the "proxycache" blobserver storage type, which uses a provided blobserver as a cache for a second origin blobserver.

The proxycache blobserver type also takes a sorted.KeyValue reference which it uses as the LRU for which old items to evict from the cache.

Example config:

"/cache/": {
    "handler": "storage-proxycache",
    "handlerArgs": {

... TODO

    }
},

Imports 5 package(s) ΒΆ

  1. camlistore.org/pkg/blob
  2. go4.org/jsonconfig
  3. golang.org/x/net/context
  4. camlistore.org/pkg/blobserver
  5. camlistore.org/pkg/sorted