| Tag Link | [Cache_Exists] | Category | Utility |
|---|---|---|---|
| Type | Substitution | Source Available | Yes |
| Support | Preferred | Version | 8.1 |
| Change | Unchanged | Data Source | Any |
| Output Type | None | Security | Tag |
| Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[Cache_Exists] checks whether a given cache contains current content. This tag accepts the same parameters as the opening [Cache] tag. It returns true if the [Cache] ... [/Cache] container would return cached content or false otherwise.
Requires a
[Cache_Exists:
| Required Parameters | |
|---|---|
| -Name | The name of the cache to be checked. |
| Optional Parameters | |
| -Expires | The expiration (in seconds) to be checked. If the cached content was created within this many minutes then the tag will return true. |
| -UseGlobal | If a |
| -Session | Specifies the name of the session that stores the cache. |
See the Lasso 8 Language Guide for examples of how to use this tag.