googlecodelabs / your-first-pwapp

Code associated with Your First Progressive Web App codelab
https://g.co/codelabs/pwa
Apache License 2.0
638 stars 555 forks source link

How can I test that this works offline? #16

Closed domenic closed 5 years ago

domenic commented 8 years ago

Especially given that I am running this on localhost, which is never "offline", how can I test that all the stuff I did in step 6 actually had an effect?

Maybe I should be testing from my phone using some kind of localhost-to-internet tunnel?

petele commented 8 years ago

You could turn off your web server, then also turn off your network. That'll disable the local served content, and access to the weather api?

Does that work, or am I missing your point?

petele commented 5 years ago

Hi!

Thanks for the feedback. I've rewritten the codelab from scratch and believe I have fixed this issue. The code has been updated, and the new guide is now live.

If you find any issues with the new codelab, please let us know!

Thanks!