From bc31911faa3872f47cee7239e4f8690331e7569e Mon Sep 17 00:00:00 2001 From: cbl Date: Wed, 24 Jun 2020 21:35:29 +0200 Subject: [PATCH] docs --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5265b8a..55c009f 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,16 @@ You can build reusable blade components: ``` -## Clear Cache +## Optimizing Styles + +Blade styles share the same behavior as Views. As suggested in the +[View documentation](https://laravel.com/docs/7.x/views#optimizing-views), the +`style:cache` command can be added to your deployment workflow to ensure that +all styles are compiled and thus improve performance. + +```shell +php artisan style:cache +``` You may use the `style:clear` command to clear the style cache: