google / web-starter-kit

Web Starter Kit - a workflow for multi-device websites

Home Page:http://developers.google.com/web/starter-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

main.css and main.min.js are not served from cached

kramer888 opened this issue · comments

Hi

I downloaded the repo and installed everything and ran the app (gulp serve).
So far it's ok.
The thing the I don't understand is even though I see in:
service-worker.js
var PrecacheConfig = [["scripts/main.min.js","34a00bde0733369f65ba9b3c8f750784"],["scripts/sw/runtime-caching.js","e3e34dcb62b5d62453b9215961585488"],["scripts/sw/sw-toolbox.js","2770efb889cc10c4de88d0b746c2a13c"],["styles/main.css","b21781ecf1bf7209ea6dde54d9482126"]];

main.css and main.min.js aren't served from cache when going offline.

github_issue_pictures

My bad - I should have used serve:dist.