I am developing a website and I want to implement caching to improve its performance.
If I use
<@ OutputCache Duration="20" VaryByParam="None">
where will my page be stored? On the client side or on the server? If it’s stored on the client side, where is it stored?
Can I cache a master page?
If you don’t specify a location, the Output Cache directive will at least store it on the server. It also allows (via headers) intermediate proxies and clients to cache if they choose to.*
It’s up to the consuming client to a) choose whether to respect the cache header and b) where to cache. For most browsers it’s usually in “Temporary Internet Files” or some equivalent.
*It’s more of a “suggestion” that proxies or clients cache, since either way it’s ultimately up to them.