質問

I have a web client that gets its data (including images) from a web service.

I'm already able to cache the web client so the user can use it even if he/she is offline. However I'm not able to cache the images.

Here's what is in my manifest:

CACHE: .... http://192.168.20.50:8080/ws/images/products/*

Any ideas how can I cache all the images in that folder? I'm using the full URL because my client has different URL. (http://192.168.20.50:8080/client)

役に立ちましたか?

解決

The CACHE section does not support wildcards. Here you have to explicitly insert every image. But On server side you could do that dynamically while list all files and append their names to the manifest.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top