diff options
author | silverwind <me@silverwind.io> | 2022-02-26 11:14:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 18:14:23 +0800 |
commit | fa0e2d60c2f3ad4ca34230392513298bf433cf92 (patch) | |
tree | e1d304f872d31756a6f8c4a9a587595d94df26cb /docs/content/doc/developers/hacking-on-gitea.en-us.md | |
parent | 5b0cdd615567e49766fc7451cae84da17e152cea (diff) | |
download | gitea-fa0e2d60c2f3ad4ca34230392513298bf433cf92.tar.gz gitea-fa0e2d60c2f3ad4ca34230392513298bf433cf92.zip |
Disable service worker by default (#18914)
The service worker causes a lot of issues with JS errors after instance
upgrades while not bringing any real performance gain over regular HTTP
caching.
Disable it by default for this reason. Maybe later we can remove it
completely, as I simply see no benefit in having it.
Diffstat (limited to 'docs/content/doc/developers/hacking-on-gitea.en-us.md')
-rw-r--r-- | docs/content/doc/developers/hacking-on-gitea.en-us.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/content/doc/developers/hacking-on-gitea.en-us.md b/docs/content/doc/developers/hacking-on-gitea.en-us.md index 6e9a98e126..56ee1ca335 100644 --- a/docs/content/doc/developers/hacking-on-gitea.en-us.md +++ b/docs/content/doc/developers/hacking-on-gitea.en-us.md @@ -185,8 +185,6 @@ Before committing, make sure the linters pass: make lint-frontend ``` -Note: When working on frontend code, set `USE_SERVICE_WORKER` to `false` in `app.ini` to prevent undesirable caching of frontend assets. - ### Configuring local ElasticSearch instance Start local ElasticSearch instance using docker: |