webpack - html5 appcache, FALLBACK not working as expected when offline? -
i use webpack build app , use http-server server.
use appcache-webpack-plugin generate xxx.appcache file.
here appcache file:
cache manifest # cc6ef4a61b5b0e9cd610 images/iverson.599c733dcdf601a1.jpg scripts/0.detailmodule.d6af6f108f3b17cd.js scripts/polyfills.8ec46231416fd920.js scripts/app.0a9c68a43debc635.js scripts/vendor.8810b552e33d9c8b.js scripts/0.detailmodule.d6af6f108f3b17cd.js.map scripts/polyfills.8ec46231416fd920.js.map scripts/app.0a9c68a43debc635.js.map scripts/vendor.8810b552e33d9c8b.js.map scripts/0.detailmodule.d6af6f108f3b17cd.js.gz scripts/polyfills.8ec46231416fd920.js.gz scripts/app.0a9c68a43debc635.js.gz scripts/vendor.8810b552e33d9c8b.js.gz index.html contacts.json network: * fallback: offline.html chrome 60.0.3112.101
disable cache option disabled
steps:
when first access, resources cached.
i use
application->clear storage->clear site dataclear cached resources.i
enablednetwork->offlineoption , reload.
chrome give me err_internet_disconnected not fallback file offline.html.
how can fix this?
Comments
Post a Comment