当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Updating cache.manifest

问题描述:

I have created a web app that installs to user device. When i change a image (using Desktop chrome) and then update to manifest to trigger an update. The app reinstalls but sometimes using (chrome desktop) even if the app does reinstall it still shows old image, i have to then clear browser history, then it will load newest image. So the question i have is there a way i can add in my manifest to select newest image.

here is my cache.manifest example

CACHE MANIFEST

ne30950_889731050.png

ne30150_889731050.png

ne30250_889731050.png

ne30350_889731050.png

i tried adding ?time=" + new Date().getTime() to end of png, but still no go. Please any suggestions would be greatly appreciated

`ne30350_889731050.png?time=" + new Date().getTime()`

分享给朋友:
您可能感兴趣的文章:
随机阅读: