Intersoft ClientUI Documentation
How-to: Enable Page Caching

This example shows how to enable page caching in UXFrame.

Example

Description

The UXFrame supports page-level caching by setting the NavigationCacheMode of the particular page to Enabled. When the cache is enabled, the page will remain in memory eventhough the page has been navigated away. You need to review your page before deciding to enable caching to ensure the balance of performance and resources allocation.

The following code shows how to enable page caching in UXFrame.

Code

XAML
Copy Code
<Intersoft:UXPage NavigationCacheMode="Enabled">    
    
    <Intersoft:UXFrame CacheSize="10">        
           ...
    </Intersoft:UXFrame>

</Intersoft:UXPage>
See Also

Concepts

Other Resources