|
|
@ -72,7 +72,7 @@ exports.cache = function (filename, data) {
|
|
|
|
* @return {Boolean} Is it cached or not
|
|
|
|
* @return {Boolean} Is it cached or not
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
exports.isCached = function (filename) {
|
|
|
|
exports.isCached = function (filename) {
|
|
|
|
return false
|
|
|
|
return false //TODO: change back
|
|
|
|
let cached_entry = cache[filename];
|
|
|
|
let cached_entry = cache[filename];
|
|
|
|
if (cached_entry) { // check if the cache entry exists
|
|
|
|
if (cached_entry) { // check if the cache entry exists
|
|
|
|
logger.debug("Found cache entry for %s", filename);
|
|
|
|
logger.debug("Found cache entry for %s", filename);
|
|
|
|