Caches the value of a named variable. Requires a -Content parameter that specifies the name of an object variable to be cached. Does not return a value to the page.
[Cache_Store: -Name='Cache_Name', -Content=$Variable]
Use the [Cache_Store] tag. The example below adds a variable named Data to the cache. Whenever the Data variable is called while the cache is not expired, any instance of the Data variable will be replaced with its cached value.
[Var:'Data'='This is some data']
[Cache_Object: -Name='Cache_Name', -Expires=3600, -Content=$Data]
Tag Link | [Cache_Store] | Category | Utility |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | None | Security | Tag |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft