there are two standard approaches. first is a unique name for each version (usually an version key in the name) or add random query string value.
for dev testing, enable the dev tools, and disable caching. in the browser, you can also delete cached data for the site.
note: also check the service worker code to how its caching.