public boolean checkIsValueStillValid( final TemplateCacheKey key, final TemplateModel value, final long entryCreationTimestamp) { return value.getTemplateData().getValidity().isCacheStillValid(); }
final boolean templateCacheable = templateData.getValidity().isCacheable();
if (templateResolution.getValidity().isCacheable()) { this.templateCache.put(cacheKey, templateModel);
(useCache && ownerTemplateData.getValidity().isCacheable()? AlwaysValidCacheEntryValidity.INSTANCE : NonCacheableCacheEntryValidity.INSTANCE); if (cacheValidity.isCacheable()) { this.templateCache.put(cacheKey, parsedTemplate);
if (templateResolution.getValidity().isCacheable() && this.templateCache != null) {
if (templateResolution.getValidity().isCacheable() && this.templateCache != null) {