0👍
What is the URL of your Heroku app? Service Workers work on either localhost, or on a HTTPS domain, and the caching of the files are specific to a single sub domain. Heroku would most probably always be in HTTPS, so maybe the subdomain has changed and therefore considered a new site visit everytime?
Source:stackexchange.com