Intersoft ClientUI 8 > ClientUI Fundamentals > Navigation Overview > Navigation How-to Topics > How-to: Enable Page Caching |
This example shows how to enable page caching in UXFrame.
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.
XAML |
Copy Code
|
---|---|
<Intersoft:UXPage NavigationCacheMode="Enabled"> <Intersoft:UXFrame CacheSize="10"> ... </Intersoft:UXFrame> </Intersoft:UXPage> |