Support the ongoing development of Laravel.io →
Configuration Requests

I'm trying to optimize the load time of a site but it seems that the: Illuminate\Routing\Router->resource is taking way to long to load (~280ms). This is for 19 resources.

I've already run:

php artisan clear-compiled
composer dump-autoload --optimize
php artisan optimize --force

Read the following as well: http://www.lutro.priv.no/posts/optimizing-for-production-with-laravel-4

This is also related: http://stackoverflow.com/questions/22892127/load-time-of-laravel

I was wondering if the way the resources are loaded can be optimized. I'm using Apache.

This is the snapshot of the loading time: https://cloudup.com/czulmwzAXQe

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mayrop mayrop Joined 5 Mar 2014

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.

© 2025 Laravel.io - All rights reserved.