大佬教程收集整理的这篇文章主要介绍了cache-control – 什么是设置no-cache =“Set-Cookie”,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
With httpContext.Current.Response .Cache.SetCacheability(httpCacheability.PubliC) .Cache.SetRevalidation(httpCacheRevalidation.AllCaches) .Cache.SetLastModified(Now) .Cache.SetExpires(datetiR_595_11845@e.UtcNow.AddSeconds(120)) .Cache.SetMaxAge(TimeSpan.FromSeconds(120)) End With
返回以下标题:
Cache-Control: public,no-cache="Set-Cookie",must-revalidate,max-age=120 Content-Type: application/xml; charset=utf-8 Expires: Mon,22 Aug 2016 13:54:36 GMT Last-Modified: Mon,22 Aug 2016 13:52:36 GMT
但是我想弄清楚什么是设置no-cache =“Set-Cookie”,我该怎样才能打开或关闭它?
以上是大佬教程为你收集整理的cache-control – 什么是设置no-cache =“Set-Cookie”全部内容,希望文章能够帮你解决cache-control – 什么是设置no-cache =“Set-Cookie”所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。