Is Safari on iOS 6 caching $.ajax results?

前端 未结 25 997
轮回少年
轮回少年 2020-11-22 09:34

Since the upgrade to iOS 6, we are seeing Safari\'s web view take the liberty of caching $.ajax calls. This is in the context of a PhoneGap application so it is

25条回答
  •  灰色年华
    2020-11-22 09:59

    My workaround in ASP.NET (pagemethods, webservice, etc.)

    protected void Application_BeginRequest(object sender, EventArgs e)
    {
        Response.Cache.SetCacheability(HttpCacheability.NoCache);
    }
    

提交回复
热议问题