webdnn icon indicating copy to clipboard operation
webdnn copied to clipboard

ServiceWorker support

Open Kiikurage opened this issue 7 years ago • 2 comments

cache model data if browser supports ServiceWorker

Kiikurage avatar Aug 17 '17 05:08 Kiikurage

Is there other way to cache model data? such as WebStorage.

lygstate avatar Dec 02 '17 14:12 lygstate

Hi, Thanks for giving a good idea. I implemented IndxedDB-based cache system (#654). As default, WebDNN try to fetch only JSON file every time and check the cache is latest version or not. If cache is expired, then WebDNN download parameter files. Also, this strategy can be modified.

Kiikurage avatar Dec 03 '17 23:12 Kiikurage