Operations | Monitoring | ITSM | DevOps | Cloud

July 2022

Making sure routes and config files are cached in a Laravel app

In a typical Laravel application, you'll likely to have many routes, config files and possible some events. In your development environment these routes and config files will loaded and registered in each request. The performance penalty for this is not too big. In a production environment, you want to cache these things. Laravel makes this easy by offering a couple of Artisan commands that you can use in your deployment procedure.