Hello,
Welcome to Microsoft Q&A!
I suggest you could try to enable a page to be cached via setting NavigationCacheMode to either Enabled
or Required
.
Enabled: The page is cached, but the cached instance is discarded when the size of the cache for the frame is exceeded.
Required: The page is cached and the cached instance is reused for every visit regardless of the cache size for the frame.
You could set Required
in the constructor for the page.
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.