To speed this up you can cache both route and config by running the command below.
Cache the Route
To cache the route, you can run the "route:cache" artisan command. This command will cache all the URLs defined on "/routes" directory.
php artisan route:cache
Cache the Config
To cache the config you can use "config:cache" artisan command and this command will cache the configurations that's defined from "/config" directory.
php artisan config:cache
php artisan route:clear
php artisan config:clear
Leave a reply