ASP.NET OutPutCache VaryByParam and VaryByHeader with AJAX

馋奶兔 提交于 2019-12-04 01:20:28

According to this MSDN reference, multiple values in VaryByParam should be semicolon separated, not comma separated.

Try using www.fiddlertool.com to check the headers and see if they are being passed in the first place.

Your Duration is set to 5 seconds. Is this intentional? I suspect might have something to do with your cache timing out after this period.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!