Hi
I have checked this thread.
http://stackoverflow.com/questions/1160105/asp-net-mvc-disable-browser-cache
And wondering if I can put the answer inside page_load ?
If not how do I disable the cache on for a single page?
Thanks!
Hi
I have checked this thread.
http://stackoverflow.com/questions/1160105/asp-net-mvc-disable-browser-cache
And wondering if I can put the answer inside page_load ?
If not how do I disable the cache on for a single page?
Thanks!
And wondering if I can put the answer inside page_load ?
Yes you can as long as you have not set same Header before.
At the end you can place them, and check if your page get the cache header by inspecting the headers on the browser (chrome and firefox have utilities for that)