1.5: sw.js (service worker definition) cache


In the release notes of Mastodon 1.5 I read:

The file sw.js (service worker definition) served from the public directory should be served with no cache headers or cache headers with max-age 0 (basically, don’t cache it)

… but where do I configure this cache setting?

1 Like

Apparently there is no extra configuration needed (this is per the dev of Mastodon themself). The message in the release notes if just for reference – perhaps it needs to be taken out, if there is no extra config needed, if you ask me. :stuck_out_tongue:

1 Like