Skip to content

Commit 5d66575

Browse files
authored
Added mention about production assets (#2837)
1 parent d7c52ff commit 5d66575

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/infrastructure_and_maintenance/performance.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ In production setups:
5656

5757
- Review the [Symfony performance documentation]([[= symfony_doc =]]/performance.html) and apply matching suggestions, including OPCache configuration if enabled.
5858

59+
### Frontend assets
60+
61+
Deploy a [production build](https://webpack.js.org/guides/production/) of your assets to reduce their size and improve loading time.
62+
63+
You can build them by running `yarn encore prod`, or by setting the environmental variable `NODE_ENV` to `production` in your production environment.
64+
5965
### Composer
6066

6167
- Keep Composer up to date.

0 commit comments

Comments
 (0)