add new `check_compiled` option

This commit is contained in:
Andrew Brown 2020-01-23 10:27:12 -06:00
parent 9d0862b334
commit 2fe113e606
1 changed files with 12 additions and 0 deletions

View File

@ -33,4 +33,16 @@
realpath(storage_path('framework/views'))
),
/*
|--------------------------------------------------------------------------
| Check Compiled Views
|--------------------------------------------------------------------------
|
| On every request the framework will check to see if a view has expired
| to determine if it needs to be recompiled. If you are in production
| and precompiling your views we can skip this check to save time.
|
*/
'check_compiled' => env('APP_ENV') !== 'production',
];