#3: Route Cache | ๐Ÿš€ Quick Laravel Performance Tips ๐Ÿš€

Artisan command route: cache, serializes the results of Laravel app routes files into a bootstrap/cache/routes.php file. Laravel performing operation of parsing routes once and then storing those result into cache routes.php.
That’s it! Routes are being parsed from the cached file, not routes file. If you make any changes to routes files, now routing of your app won’t change until you re-cache. So, it is best practice to route cache on production website only not in development app.

๐Ÿš€ ๐—ค๐˜‚๐—ถ๐—ฐ๐—ธ ๐—Ÿ๐—ฎ๐—ฟ๐—ฎ๐˜ƒ๐—ฒ๐—น ๐—ฃ๐—ฒ๐—ฟ๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐—ป๐—ฐ๐—ฒ ๐—ง๐—ถ๐—ฝ๐˜€ ๐—ฃ๐—น๐—ฎ๐˜†๐—น๐—ถ๐˜€๐˜:
https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWRZ4tv4GW_KwbyavOxt6bc

source