rijkvanzanten / obachine

🔎 Build your own search engine 🔍
MIT License
7 stars 3 forks source link

Implement Service-Worker #166

Open pierman1 opened 7 years ago

pierman1 commented 7 years ago

Copy pasta!

Mimaaa commented 7 years ago

@dandevri 🙅‍♂️

Mimaaa commented 7 years ago

I'm gonna tackle this one with the Service-Worker Webpack Plugin

dandevri commented 7 years ago

Such wow. 🦄 The webpack plugin only makes registering the SW easier. You still need to write you own sw.js. See step 3 in the readme.md.

Mimaaa commented 7 years ago

True, that's where you come in. 🙅‍♂️ But I'll probably go with this one as it has AppCache as a fallback, thus supporting a lot more browsers if SW support fails.