Open darkwebdev opened 7 years ago
Documentation states: cacheKey (String) - A unique String to use for cache reads and writes. Defaults to name.
cacheKey (String) - A unique String to use for cache reads and writes. Defaults to name.
Code disagrees:
if (!cacheKey) { cacheKey = input.filename || pageName; // Use the filename of the template as the cache key }
I think cacheKey = pageName || input.filename; would make more sense.
cacheKey = pageName || input.filename;
Documentation states:
cacheKey (String) - A unique String to use for cache reads and writes. Defaults to name.
Code disagrees:
I think
cacheKey = pageName || input.filename;
would make more sense.