Support the ongoing development of Laravel.io →
Configuration Cache
Last updated 2 years ago.
0

I would disable all of the routes and run a basic test, something like this

Route::get('/test', function () {
     return 'just a test';
});

If it still runs slow, then it is likely something either in a vendor package or some other service provider, filter,... - something that runs with each route no matter what.

If it does not run slowly, then it would be time to start putting the routes back one at a time testing each time.

If it is a specific route then you might look at if you have any construct objects in the controller...

Hope those ideas help

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.