Service worker doesn't work.

read an article about Service worker on the Internet
http://www.zhangxinxu.com/wor.
, but the example cache in it doesn"t work. My browser is already the latest Google browser

.

clipboard.png

clipboard.png

clipboard.png
it can be run under Firefox. The code should be fine. I want to know if it"s the browser or something

.

in the developer tool of Chrome, under the Application tag, take a look at

  1. whether Service Worker is registered successfully
  2. whether the resources you need are successfully cached in the Application Cache under Cache
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea01e5-47874.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea01e5-47874.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?