How can I clear the cache of an IOS Web App on the Homescreen?

后端 未结 6 1876
难免孤独
难免孤独 2021-02-02 09:22

I am using JQTouch to create a Web App on the Homescreen using meta tag \"apple-mobile-web-app-capable\", but no matter how many times I clear the cache from within Settings, th

6条回答
  •  梦毁少年i
    2021-02-02 10:11

    I found that using bundling feature in ASP.NET MVC solved this problem for me.

    It automatically generates a bundled link of the form:

    http://www.domain.com/MvcBM_time/bundles/AllMyScripts?v=r0sLDicvP58AIXN_mc3QdyVvVj5euZNzdsa2N1PKvb81

    The token after the v= changes if any file in the bundle changes, guaranteeing that browser requests for the bundle will get the latest bundle.

提交回复
热议问题