LassoScript Utility
Basics Browse Detail

▼ [Cache_Empty]

Tag Link [Cache_Empty] Category Utility
Type Substitution Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

▼ Description

Clears a specified cache. The cached contents will be forced to reload at the next page load. Requires a -Name parameter which specifies the name of the cache. An optional -Session parameter specifies the session that contains the cache, if applicable.

▼ Syntax

[Cache_Empty: -Name='MyCache']

▼ Parameters

Required Parameters
-Name Specifies the name of the cache to be cleared.
-Session Specifies the session that contains the cache to be cleared.

▼ Examples

To empty a cache:

Use the [Cache_Empty] tag, where the name of the cache to empty is specified in the -Name parameter.

[Cache_Empty: -Name='Cache_Name']