2

i'm trying to use HTML5 local storage offline cache to store images locally but unable to cache it properly, im using manifest configuration in my HTML, here is the sample code for it.

in server i have created "test.appcache" file with below configuration.

CACHE MANIFEST /images/.

but it is unable to cache content locally, if i see the network tab in chrome/firefox the status code of images were 304 with offline cache configuration and without this configuration. my application is landed in Google AppEngine platform.

Please let me know where it went wrong.

Thanks in Advance!

4

2 に答える 2

0

マニフェストを作成するだけでは不十分です。ここに記載されているように、マニフェストを提供していることを確認し(App Engine構成に静的リソースとして追加することで)、HTMLからマニフェストを参照する必要があります

于 2012-04-05T05:28:17.223 に答える