Skip to content

Commit a985b2f

Browse files
Gabor Tjong A HungGabor Tjong A Hung
authored andcommitted
Update installation.md
Specified that php artisan config:cache is useful during production, but not during development, and how to remove it.
1 parent 407f8a6 commit a985b2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ An application instance may also be accessed via the `app` helper method:
139139

140140
To give your application a speed boost, you should cache all of your configuration files into a single file using the `config:cache` Artisan command. This will combine all of the configuration options for your application into a single file which can be loaded quickly by the framework.
141141

142-
You should typically run the `config:cache` command as part of your deployment routine.
142+
You should typically run the `php artisan config:cache` command as part of your production deployment routine.
143+
During development it is however recommended to clear this with the `php artisan config:clear` command. It might save you hours of looking why your changes aren't reflected.
143144

144145
<a name="accessing-configuration-values"></a>
145146
### Accessing Configuration Values

0 commit comments

Comments
 (0)