I a partial page creating the menu for application. I am calling the menu partial view using renderaction. I want to store this partial page on client side by doing this
[OutputCache(Duration=7200, Location =OutputCacheLocation.Client, NoStore= true)]
but i am getting the following error
OutputCacheAttribute for child actions only supports Duration, VaryByCustom, and VaryByParam values. Please do not set CacheProfile, Location, NoStore, SqlDependency, VaryByContentEncoding, or VaryByHeader values for child actions
Any alternate to this
NoStore
from the attribute. – Goings