if the same default.aspx page has to be stored in-proc or on the hard disk.
I don't understand why you may stored the cached page on the hard disk, maybe you just give a sample to explain how to chang the cache provider. If you cache the page on the hard dick, still need to use IO to read it, that may hit the performance.
manighht
What I'm missing is how to set those parameters programmatically (at run time if you prefer) and not in a declarative way.
You can surely change the parameters programmatically like this:
This is a granular way of adjusting some caching parameters based on admin preferences, wich on turn are based on website traffic or specific pages traffic and so on
I'm afraid you can't implement this functionality currently. If you host your web application on IIS, you also can via the output cacheing of IIS to configure your web application anytime.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
Mamba Dai - ...
All-Star
23530 Points
2683 Posts
Microsoft
Re: Programmatic granular cache settings per page
Apr 20, 2012 09:21 AM|LINK
Hi,
I don't understand why you may stored the cached page on the hard disk, maybe you just give a sample to explain how to chang the cache provider. If you cache the page on the hard dick, still need to use IO to read it, that may hit the performance.
You can surely change the parameters programmatically like this:
http://msdn.microsoft.com/en-us/library/z852zf6b.aspx
I'm afraid you can't implement this functionality currently. If you host your web application on IIS, you also can via the output cacheing of IIS to configure your web application anytime.
Feedback to us
Develop and promote your apps in Windows Store