forked from forgejo/forgejo
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.
This commit is contained in:
parent
5b0cdd6155
commit
fa0e2d60c2
4 changed files with 3 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue