avoid Caching in asp net mvc
for all actions in controller:
https://forums.asp.net/t/2146531.aspx?Disable+cache+in+ASPNET+MVC
[OutputCache(NoStore = true, Duration = 0, Location="None", VaryByParam = "*")] OR [OutputCache(NoStore = true, Duration = 0, VaryByParam = "None")]for special action:
[NoCache]
https://docs.microsoft.com/en-us/iis/configuration/system.webServer/caching/https://forums.asp.net/t/2146531.aspx?Disable+cache+in+ASPNET+MVC
Comments
Post a Comment