Lines Matching refs:cache_key
345 function template.compile(view, cache_key, plain)
347 if cache_key == "no-cache" then
350 cache_key = cache_key or view
352 if cache[cache_key] then return cache[cache_key], true end
354 if caching then cache[cache_key] = func end
358 function template.compile_file(view, cache_key)
359 return template.compile(view, cache_key, false)
362 function template.compile_string(view, cache_key)
363 return template.compile(view, cache_key, true)
599 function template.process(view, context, cache_key, plain)
601 return template.compile(view, cache_key, plain)(context)
604 function template.process_file(view, context, cache_key)
606 return template.compile(view, cache_key, false)(context)
609 function template.process_string(view, context, cache_key)
611 return template.compile(view, cache_key, true)(context)
614 function template.render(view, context, cache_key, plain)
616 template.print(template.process(view, context, cache_key, plain))
619 function template.render_file(view, context, cache_key)
621 template.render(view, context, cache_key, false)
624 function template.render_string(view, context, cache_key)
626 template.render(view, context, cache_key, true)