IIS7: set “no-cache” for all aspx pages but not images/css/js

前端 未结 3 973
迷失自我
迷失自我 2021-01-03 00:03

I would like to not cache my aspx pages anywhere. For some reason IE ignores meta tags which are set from my master page



        
3条回答
  •  误落风尘
    2021-01-03 01:06

    One absolutely definite way to keep any browser from caching your page would be to add a query string variable set to a random number, so your links would always end in "?ran=". I've done that on a limited basis in the past.

提交回复
热议问题