Skip to content
Snippets Groups Projects
Commit 041b60f5 authored by Mike Bayer's avatar Mike Bayer
Browse files

- added "cache" accessor to Template, Namespace.

  e.g.  ${local.cache.get('somekey')} or
  template.cache.invalidate_body()

- the Cache object now supports invalidate_def(name),
  invalidate_body(), invalidate_closure(name),
  invalidate(key), which will remove the given key
  from the cache, if it exists.  The cache arguments
  (i.e. storage type) are derived from whatever has
  been already persisted for that template.
  [ticket:92]
parent 8239d75e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment