Service Worker not refreshing app cache from AWS CDN


Some stuff of my PWA, like the CSS, are in the AWS CDN.

The problem is that the SrviceWorker is not updating this stuff. As a result I’m getting mixed pages with old and new resources.

How could I force the app to refresh this stuff from the CDN?