Open
Description
I set the view engine DisableCache false , but I also need dynamic the clear the cache.
can you support a method like this ?
func (e *ViewEngine) ClearAllCache() {
e.tplMutex.RLock()
e.tplMap = make(map[string]*template.Template)
e.tplMutex.RUnlock()
}
I also suggest change DisableCache to Cache ?
Metadata
Assignees
Labels
No labels