forked from NYANDEV/forgejo
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
57c2ca7f26
commit
61c7732e12
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.
|
||||
|
||||
### Building and adding SVGs
|
||||
|
||||
SVG icons are built using the `make svg` target which compiles the icon sources defined in `build/generate-svg.js` into the output directory `public/img/svg`. Custom icons can be added in the `web_src/svg` directory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue