Re: Service Worker - Offline fallback not working

2016-06-01 Thread Mohit Bajoria
(test) site. Also, instrumenting your service > worker with console.log/etc. > > Andrew > > > On Tue, May 31, 2016, at 09:45 PM, Mohit Bajoria wrote: > > Hello > > I added "offline.html" in filesToCache but still the same problem arises. > When i refresh t

Re: Service Worker - Offline fallback not working

2016-06-01 Thread Mohit Bajoria
On 31 May 2016 at 23:45, Andrew Sutherland wrote: > "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

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&qu

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 solv