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
        • Advanced Placeholder Example
        • Buffer Example
        • Cache Example
        • Example: Embedding a Legacy Form (PS5Forms)
        • Expression Example
        • Locale Example
        • Lorem Example
        • Metadata No Default Tags Example
        • Metadata with Custom Namespace Example
        • Metadata with Dublin Core Example
        • Metadata without Dublin Core Example
        • Nested Locale Example
        • PageTranslation Example
        • PageTranslations Example
        • Placeholder Simple Example
        • Region Example
        • Rem Example
        • SendMail EmbeddedResources Example
        • SendMail Example
        • SendMail Example with default property
        • Simple Replace Macro Example
        • Simple ViewSource Example
        • Text Macro Example
        • Transform example with inline XML
        • Transform External Example
        • Transform Inline Example
        • Using PageTranslations to preview items which use sessions.
      • Miscellaneous Macros
      • Advanced Macros
    • Viper Examples
    • Macro Shared Parameter Examples
    • Razor Examples
  • Tips & Tricks

Wat is Smartsite? www.smartsite.nl