To *_* Be 1 html javascript cordova html-framework-7
我想阻止所有应用程序的页面在Framework 7中缓存。是否可以在此处添加任何选项?
var myApp = new Framework7({
material: true //enable Material theme
})
Run Code Online (Sandbox Code Playgroud)
或可以使我永久停止缓存的功能。
小智 5
您可以设置cache: false为
var myApp = new Framework7({
cache: false /* disable caching */
})
Run Code Online (Sandbox Code Playgroud)
或者(如果适合您的应用程序),可以将其持续时间设置为零,cacheDuration: 0如
var myApp = new Framework7({
cacheDuration: 0 /* set caching expire time to 0 */
})
Run Code Online (Sandbox Code Playgroud)
您可以参考http://framework7.io/docs/init-app.html了解更多详细规格。