summaryrefslogtreecommitdiffstats
path: root/custom/conf/app.example.ini
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-31 04:07:04 +0200
committerGitHub <noreply@github.com>2023-05-31 02:07:04 +0000
commit50bd7d0b24016b0cf48dfbafe84b5953fe20c34f (patch)
treeaf5df7c26729ada5dbf27ba9d6b970bac35b49bc /custom/conf/app.example.ini
parent28a89e360f720c5ca7fb71319beb2519adad5972 (diff)
downloadgitea-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 'custom/conf/app.example.ini')
-rw-r--r--custom/conf/app.example.ini3
1 files changed, 0 insertions, 3 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 01abb15c1d..23dfefa013 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1208,9 +1208,6 @@ LEVEL = Info
;; Whether to search within description at repository search on explore page.
;SEARCH_REPO_DESCRIPTION = true
;;
-;; Whether to enable a Service Worker to cache frontend assets
-;USE_SERVICE_WORKER = false
-;;
;; Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
;; A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
;ONLY_SHOW_RELEVANT_REPOS = false