class Crinja::TemplateCache::NoCache

Overview

This cache does not cache anything.

Defined in:

util/template_cache.cr

Instance Method Summary

Instance methods inherited from class Crinja::TemplateCache

fetch(env, name, file_name, source, &) fetch

Instance Method Detail

def fetch(env, name, file_name, source, &) #
Description copied from class Crinja::TemplateCache

Try to fetch template from cache. If not found, this method yields and in the attached block the template should be initialized. Implementing classes should store the value from the yield and return it to the caller.


[View source]