andoma/showtime — pull request #80 by hean01 (2012-08-21 21:34:27+00:00)
Title: Plugin access to blobcache

Added 2 api calls for put/get json objects in blobcache from plugin side:

// Add item to cache with max age 24h
plugin.cachePut("ItemStash", "Key", {title: 'item title'}, 86400);

// Get json object out of cache
obj = plugin.cacheGet("ItemStash", "Key");

Internal composed stash will be "plugin::".