Merge branch 'check-compiled' of https://github.com/browner12/laravel into browner12-check-compiled

This commit is contained in:
Taylor Otwell
2020-01-24 07:46:08 -06:00

View File

@@ -33,4 +33,16 @@ return [
realpath(storage_path('framework/views')) 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.
|
*/
'expires' => env('APP_ENV') !== 'production',
]; ];