How to configure route cache in laravel?



How to configure route cache in laravel?..

Answer / Dispreet Kaur

To configure the route cache in Laravel, you can use the `route:cache` command to compile the routes into a faster, cached format. To automatically cache routes on production, set the APP_DEBUG configuration to false in your .env file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How to generate a controller with resources in laravel?

1 Answers  


What do you know about php artisan? Mention some artisan command.

1 Answers  


Define composer.

1 Answers  


List out some artisan commands?

1 Answers  


How to remove a complied class file?

1 Answers  


What is reverse path filtering?

1 Answers  


What are helper functions and name 10 with their purposes?

1 Answers  


How to localize resource uris in laravel?

1 Answers  


Explain bundles in laravel?

1 Answers  


What do you understand by eloquent orm?

1 Answers  


What is a forget() ?

1 Answers  


Explain how to generate pretty urls in laravel?

1 Answers  


Categories