How to identify updates on the server with Service Worker?

0

Is it possible to identify that there was an update on the server, that is, there was an update in the page (HTML) or style (CSS), and make the request to the server to fetch the updated data? If so, how?

    
asked by anonymous 25.01.2017 / 15:44

1 answer

2

Interesting question. Have you tried using a timestamp in the name of the scripts? This would help when an update occurs.

Take a look at link

I hope I have helped.

Hugs!

    
30.01.2017 / 16:50