cache
Cache the tag contents. The tag body will be skipped if there is usable content in the cache.
| Tag Information | |
|---|---|
| Tag Class | org.loom.tags.core.CacheTag |
| Body Content | scriptless |
| Dynamic Attributes | false |
| Example | <l:cache id="cached-menu"> <l:menu> ... </l:menu> </l:cache> |
Attributes
| Name | Description | Flags |
|---|---|---|
| id | the key to be used to identify this cache entry |
requiredrtexprvalue
|
| scope | Scope where the cached value will be stored.
Possible values are session (default) and application.
|
rtexprvalue
|
| useLocale | true to use separate cache contents per language. Default true |
rtexprvalue
|