lib/cache-strategies/default.js
function addToCache(filename, obj) {
	if(cacheOn)
	{
		var x = cache[filename];
		if(!x)
			x = cache[filename] = {};
		x.mtime = obj.mtime || x.mtime;
		x.etag = obj.etag || x.etag;
		x.size = obj.size || x.size;
	}
}
function addToCache(filename, obj) {
	if(cacheOn)
	{
		var x = cache[filename];
		if(!x)
			x = cache[filename] = {};
		x.mtime = obj.mtime || x.mtime;
		x.etag = obj.etag || x.etag;
		x.size = obj.size || x.size;
	}
}
function addToCache ( filename , obj ) { if ( cacheOn ) { var x = cache [ filename ] ; if ( ! x ) x = cache [ filename ] = { } ; x . mtime = obj . mtime || x . mtime ; x . etag = obj . etag || x . etag ; x . size = obj . size || x . size ; } }
Adds information to the cache
Adds information to the cache