Class type CamlTemplate.Cache.source_loader


class type source_loader = object .. end
An implementation of this class type can be used by a template cache to load template source code.

method check : template_name:string ->
load_time:float -> source_check_result
Checks whether a template's source has changed since it was last loaded. The load time is a time in seconds, as returned by Unix.time.
method load : template_name:string -> string
Loads the source code for a template.