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:

  1. when first access, resources cached.

  2. i use application -> clear storage -> clear site data clear cached resources.

  3. i enabled network -> offline option , reload.

chrome give me err_internet_disconnected not fallback file offline.html.

how can fix this?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -