Remove the service worker (#25010)

It's been disabled by default since 1.17
(https://github.com/go-gitea/gitea/pull/18914), and it never really
delivered any benefit except being another cache layer that has its own
unsolved invalidation issues. HTTP cache works, we don't need two cache
layers at the browser for assets.

## ⚠️ BREAKING

You can remove the config `[ui].USE_SERVICE_WORKER` from your `app.ini`
now.
This commit is contained in:
silverwind
2023-05-31 04:07:04 +02:00
repo.diff.committed_by GitHub
repo.diff.parent 28a89e360f
repo.diff.commit 50bd7d0b24
repo.diff.stats_desc%!(EXTRA int=15, int=3, int=128)

repo.diff.view_file

@@ -76,7 +76,6 @@ cpu.out
/yarn-error.log
/npm-debug.log*
/public/js
/public/serviceworker.js
/public/css
/public/fonts
/public/img/webpack