Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

service worker needs to precache files #25

Open
davidmaxwaterman opened this issue Mar 31, 2016 · 1 comment
Open

service worker needs to precache files #25

davidmaxwaterman opened this issue Mar 31, 2016 · 1 comment

Comments

@davidmaxwaterman
Copy link
Contributor

  1. build app and run server
  2. load app in chrome
  3. turn off network
  4. reload app - works fine since all resources on the main view are cached by the service worker
  5. click on the memory hamburger button

expect:
it should display as if online

actual:
various resources are missing, and weren't access when online and so weren't cached. all resources need to be listed in the platinum-sw-cache precache attribute....perhaps they need to be bound as per the example :
https://github.com/PolymerElements/platinum-sw/blob/master/demo/index.html#L50

@davidmaxwaterman
Copy link
Contributor Author

I implemented a solution to this, but it's not great so I'll leave this open to remind me to revisit it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant