diff options
author | silverwind <me@silverwind.io> | 2023-05-31 04:07:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 02:07:04 +0000 |
commit | 50bd7d0b24016b0cf48dfbafe84b5953fe20c34f (patch) | |
tree | af5df7c26729ada5dbf27ba9d6b970bac35b49bc /Makefile | |
parent | 28a89e360f720c5ca7fb71319beb2519adad5972 (diff) | |
download | gitea-50bd7d0b24016b0cf48dfbafe84b5953fe20c34f.tar.gz gitea-50bd7d0b24016b0cf48dfbafe84b5953fe20c34f.zip |
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.
## :warning: BREAKING
You can remove the config `[ui].USE_SERVICE_WORKER` from your `app.ini`
now.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ FOMANTIC_WORK_DIR := web_src/fomantic WEBPACK_SOURCES := $(shell find web_src/js web_src/css -type f) WEBPACK_CONFIGS := webpack.config.js WEBPACK_DEST := public/js/index.js public/css/index.css -WEBPACK_DEST_ENTRIES := public/js public/css public/fonts public/img/webpack public/serviceworker.js +WEBPACK_DEST_ENTRIES := public/js public/css public/fonts public/img/webpack BINDATA_DEST := modules/public/bindata.go modules/options/bindata.go modules/templates/bindata.go BINDATA_HASH := $(addsuffix .hash,$(BINDATA_DEST)) |