webdnn
webdnn copied to clipboard
ServiceWorker support
cache model data if browser supports ServiceWorker
Is there other way to cache model data? such as WebStorage.
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.