Skip to content

Commit 06c771e

Browse files
authored
Merge pull request #5947 from Krisell/patch-1
[7.x] Remove mention of disabling view expiration check
2 parents ac462be + a7632a6 commit 06c771e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

views.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,3 @@ Compiling views during the request negatively impacts performance, so Laravel pr
228228
You may use the `view:clear` command to clear the view cache:
229229

230230
php artisan view:clear
231-
232-
Typically, you can assume that views will **never** be modified in your production environment. Therefore, you can usually disable the file modification checks Laravel makes to determine if views are expired by modifying the `expires` option within your `view` configuration file:
233-
234-
'expires' => env('APP_ENV') !== 'production',
235-
236-
> {note} You must run `php artisan view:cache` during your deployment process to disable checking for expired views.

0 commit comments

Comments
 (0)