Laravel 10.x以降のartisanの「route:cache」コマンドを解説します。
Description
ルート登録を高速化するためのルートキャッシュファイル(bootstrap/cache/routes-v7.php)を作成します。
Usage
php artisan route:cacheOptions
オプションはありません。
Example
no options
php artisan route:cache INFO Routes cached successfully. Source
10.x
framework/src/Illuminate/Foundation/Console/RouteCacheCommand.php at 11.x · laravel/framework
Laravel is a web application framework with expressive, elegant syntax. - laravel/framework
11.x
framework/src/Illuminate/Foundation/Console/RouteCacheCommand.php at 11.x · laravel/framework
Laravel is a web application framework with expressive, elegant syntax. - laravel/framework

