Re: Service Worker - Offline fallback not working

2016-06-01 Thread Mohit Bajoria
Just read the same that service workers are served over https and it might solve my problem :) Thanks for your help Regards Mohit On 1 June 2016 at 07:45, Andrew Sutherland wrote: > Stack Overflow or other programmer discussion Q sites are probably > better

Re: Service Worker - Offline fallback not working

2016-06-01 Thread Mohit Bajoria
Hello I added "offline.html" in filesToCache but still the same problem arises. When i refresh the page in absence of internet connection "offline.html" doesn't show up. Github project link - https://github.com/mbj36/My-Blog/commits/gh-pages Please help Thanks Mohit On 31 May 2016 at 23:45,

Re: Service Worker - Offline fallback not working

2016-05-31 Thread Andrew Sutherland
Stack Overflow or other programmer discussion Q sites are probably better venues for questions like this, such as under the stack overflow service-worker tag, see: http://stackoverflow.com/questions/tagged/service-worker .  Being able to browse the questions and answers of others may also help

Re: Service Worker - Offline fallback not working

2016-05-31 Thread Andrew Sutherland
"offline.html" does not appear to be in filesToCache that is passed to cache.addAll(). On Mon, May 30, 2016, at 03:02 PM, Mohit Bajoria wrote: > Hello > > There is offline.html page in repository. When there is no internet > connection then it should show up reading from cache. > Right now it

Re: Service Worker - Offline fallback not working

2016-05-31 Thread Mohit Bajoria
Hello There is offline.html page in repository. When there is no internet connection then it should show up reading from cache. Right now it doesn't read from cache and doesn't show up. On 31 May 2016 at 00:20, Ben Kelly wrote: > On May 30, 2016 1:55 PM, "Mohit Bajoria"

Re: Service Worker - Offline fallback not working

2016-05-30 Thread Ben Kelly
On May 30, 2016 1:55 PM, "Mohit Bajoria" wrote: > Offline fallback event is not working. > Can anyone please let me know the error and help me solving the issue ? Can you describe what you expect and what you are actually seeing happen? There is no "offline fallback

Service Worker - Offline fallback not working

2016-05-30 Thread Mohit Bajoria
Hello developers I am trying to use service workers and i am facing problem regarding offline fallback. Can anyone please help :) Project source code - https://github.com/mbj36/My-Blog/tree/gh-pages Offline fallback event is not working. Can anyone please let me know the error and help me