Logo Smartsite Logo Smartsite
  • Smartsite Releases
  • Smartsite Manager
  • User Manual
  • Features & Modules
  • Install & Config
  • Advanced
  • SXML
Smartsite Documentatie > SXML > Examples > Macro Examples > Utility Macros > Cache Example
Cache Example
In this example, the result of an Xlinks macro is cached for a period of 20 minutes. If anything changes within the folder that is displayed, the cache will be refreshed automatically.
Smartsite SXML CopyCode image Copy Code
<se:cache maxage="00:20">
   <se:xlinks />
</se:cache>
SXML
  • Macro
  • Macro Parameters
  • Macro Parameter Properties
  • Vipers
  • SXML Data Types
  • Examples
    • Macro Examples
      • Add-On Module Macros
      • Smartlet Examples
      • Configuration macros examples
      • Formatting Examples
      • Native Xml
      • Branching and Flow Macros
      • DataTable Macros
      • Utility Macros
      • Miscellaneous Macros
      • Advanced Macros
        • Webservice Macro Example - using DataTable as resulttype
        • WebAPI Example - Savecmsitem using payload
        • WebAPI Example
        • Channel.State Example
        • Caching using environment variables with the 'keydependencies' parameter
        • CmsUpdate Example
        • Cache with Keydependency Example
        • WebAPI Example - loaditemversion
        • WebAPI Example - archiveitems
        • Ajax Call Example
        • Code Macro Example - Calling Webservice With Proxyclass
        • Webservice Macro Example - using net.tcp binding
        • Advanced Cache Example
        • Code Macro Example
        • JScript 8.0 Code Macro Example
        • Smartlet Example
        • Webservice Macro Example - Bing Search
        • Webservice Macro Example - Bing Search #2
        • Webservice Macro Example - Processing Namespace
        • Webservice Macro Example - Displaying "Raw" Result
    • Viper Examples
    • Macro Shared Parameter Examples
    • Razor Examples
  • Tips & Tricks

Wat is Smartsite? www.smartsite.nl