Update deployment.md

This commit is contained in:
Laurence Ioannou 2018-02-10 18:39:10 +09:00 committed by GitHub
parent eb3550a907
commit 584be01f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ When deploying your application to production, you should make sure that you run
This command will combine all of Laravel's configuration files into a single, cached file, which greatly reduces the number of trips the framework must make to the filesystem when loading your configuration values.
> {note} If you execute the `config:cache` command during your deployment process, you should be sure that you are only calling the `env` function from within your configuration files. Once the configuration has been cached, the `.env` file will not be loaded and all calls to the `env` function will return `null`.
<a name="optimizing-route-loading"></a>
### Optimizing Route Loading