How to use the clearCache function from consolidate
Find comprehensive JavaScript consolidate.clearCache code examples handpicked from public code repositorys.
GitHub: ASQ-USI/ASQ
![ASQ-USI profile picture](/ASQ-USI.png?size=40)
143 144 145 146 147 148 149 150 151 152
// HACK: empty dust cache // if multiple servers are used then the rest of the servers WILL NOT // get notified :-( // TODO: should only delete the updated presentation path cons.clearCache() logger.log({ owner_id: req.user._id, slideshow: slideshow._id,
+ 5 other calls in file
38 39 40 41 42 43 44 45 46 47
* Clear the cache. * * @api public */ (function () { var oldClearCache = consolidate.clearCache; exports.clearCache = function(){ cacheStore = {}; oldClearCache(); };
consolidate.render is the most popular function in consolidate (164 examples)