Skip to content

Commit

Permalink
Merge branch 'check-compiled' of https://github.com/browner12/laravel
Browse files Browse the repository at this point in the history
…into browner12-check-compiled
  • Loading branch information
taylorotwell committed Jan 24, 2020
2 parents db596ba + 678901c commit 550282b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
|
*/
'expires' => env('APP_ENV') !== 'production',

];

0 comments on commit 550282b

Please sign in to comment.