summaryrefslogtreecommitdiffstats
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/content/doc/administration/config-cheat-sheet.en-us.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/content/doc/administration/config-cheat-sheet.en-us.md b/docs/content/doc/administration/config-cheat-sheet.en-us.md
index 514719a99a..e3612f3759 100644
--- a/docs/content/doc/administration/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/administration/config-cheat-sheet.en-us.md
@@ -230,7 +230,6 @@ The following configuration set `Content-Type: application/vnd.android.package-a
add it to this config.
- `DEFAULT_SHOW_FULL_NAME`: **false**: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
- `SEARCH_REPO_DESCRIPTION`: **true**: Whether to search within description at repository search on explore page.
-- `USE_SERVICE_WORKER`: **false**: Whether to enable a Service Worker to cache frontend assets.
- `ONLY_SHOW_RELEVANT_REPOS`: **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).