Container tag used for caching page data in Lasso's internal cache. Requires a -Name parameter which specifies the name of the cache, and several optional parameters may be used as shown in the following table.
[Cache: -Name='MyCache'] ... [/Cache]
Use the [Cache] ... [/Cache] tags without the -Expires parameter. The example below shows a cached data source query that never expires. This means that the first result set out put by the contained [Inline] ... [/Inline] tags will be the results that are always output.
[Cache: -Name='Cache_Name']
[Inline: -Database='Contacts', -SQL='Select * from Contacts.People']
[Records]
[Field:'First_Name'] [Field:'Last_Name'] - [Field:'Company']<br>
[/Records]
[/Inline]
[/Cache]
Tag Link | [Cache] ... [/Cache] | Category | Utility |
---|---|---|---|
Type | Container | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | String | Security | Tag |
Implementation | Sets | 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