I need a website to cache data. And have set up both Cache Storage (via Service Worker) and Application Cache (via html manifest attribute). They work.
Question I have is to: how to ignore the Application Cache in case Server worker support exists on the browser?
Some reading on the internet suggests that Chrome ignores Application Cache if Cache storage works. I find it does not. Chrome 63 on Mac OS X.
One option seems to be to create a dynamic page (either keeping the manifest attribute or not) on the server based on the browser and OS type. Is there a better way? Thanks