Lines Matching refs:cache_key
344 function template.compile(view, cache_key, plain)
346 if cache_key == "no-cache" then
349 cache_key = cache_key or view
351 if cache[cache_key] then return cache[cache_key], true end
353 if caching then cache[cache_key] = func end
357 function template.compile_file(view, cache_key)
358 return template.compile(view, cache_key, false)
361 function template.compile_string(view, cache_key)
362 return template.compile(view, cache_key, true)
598 function template.process(view, context, cache_key, plain)
600 return template.compile(view, cache_key, plain)(context)
603 function template.process_file(view, context, cache_key)
605 return template.compile(view, cache_key, false)(context)
608 function template.process_string(view, context, cache_key)
610 return template.compile(view, cache_key, true)(context)
613 function template.render(view, context, cache_key, plain)
615 template.print(template.process(view, context, cache_key, plain))
618 function template.render_file(view, context, cache_key)
620 template.render(view, context, cache_key, false)
623 function template.render_string(view, context, cache_key)
625 template.render(view, context, cache_key, true)