Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

damann8479's avatar

Local Server slow

Which local server have you set up? Is there a way to make the loading times as fast as on the live server? I'm still a beginner and work with Xampp. Sometimes the loading times are 1-2 seconds.

0 likes
4 replies
Ssionn's avatar

You can actually use the built-in server provided by laravel. make sure port 8000 is available

php artisan serve

damann8479's avatar

@Tray2 i have install herd. herd is a dream.thank you so much. in the past i have loos 1-2 seconds by each little change in my code. per day is much loos time. thank you

1 like
jlrdw's avatar

@damann8479 check your sql and indexes.

I use my own wamp, I download mysql, apache, and php and use the zip versions.

Sure first load can take a second or two.

Try this, log out of laracasts, log back in then click some of the categories to the left and time first load. Navigate elsewhere, then click again. Notice a faster load. I am almost sure results are cached for second load.

Worrying about 2 seconds only sometimes is really nothing to be concerned about.

When web traffic is busy, some pages on a live server will take even longer, it's normal.

Please or to participate in this conversation.