#Long page loading on a fresh Laravel

1 messages · Page 1 of 1 (latest)

main glacier
#

I've just installed laravel using the laragon terminal, it's a fresh website no data is added but to load a simple page with just one header takes between 2200 - 2400ms. Is this normal? If not, is there anyway I can solve this? Thanks!

main glacier
#

My apologies for creating a new one, my discord bugged out I can't seem to send out a message. Glad you're back to help me out!

To answer your question:

Yes, I've installed debugbar, I'll be attaching the following below. I Assume I have to take a look at Timeline?

How I installed it:

  1. Installing Composer & Laragon
  2. Create a new project from Laragon via the terminal (composer create-project laravel/laravel example-app).
  3. Once it's done, I basically right click on Laragon under www i selected my project.

** I did not install any other stuff except for debugbar at the moment **

#

@sand tusk , here is a picture.

#

Hi Sid, no.. I did not, i'm running the web through laragon itself by right clicking, under www and clicking on my project

odd dune
#

try to disable / uninstall the x-debug, just to confirm its not the case

#

laragon just an alternative of xampp, but specialize for Laravel

#

pretty sure its not the case( have been using it for a while)

main glacier
#

tried, not difference either

main glacier
odd dune
#

yeah, but since you are using Laragon. you will able to deactivate the extension by using the apps

#

probably check the php error logs as well, check if there is any errors there

main glacier
#

@odd dune this means i havent got xdebug installed tho..

odd dune
odd dune
steady vigil
#

Make sure that the Laragon folder is excluded in Windows Defender. It can have a huge impact on performance.

main glacier
main glacier
main glacier
odd dune
#

just to verify, you are using the same Laragon's php?

main glacier
#

tried, saved the file, restart laragon its still same. 😦

steady vigil
main glacier
main glacier
#

i got it installed in my SSD, i've also install and uninstall laragon multiple times following tutorials, but their pages load almost instantly as compared to mine

steady vigil
#

Are you running out of disk space by any chance?

main glacier
odd dune
#

else, it is useless to continue editing the laragon

main glacier
odd dune
#

I believe Laragon's php is pointing to its folder, which probably located at ~/Laragon/bin/phpVersion/php something

#

so there is no point edit/cross check the extension/errors at Laragon

#

try the command php -m to list all the extenstions

odd dune
#

why don't you just request the help from them?

main glacier
#

what is sail used for really? I've looked it up

main glacier
main glacier
#

let me try to install on top of my existing program

main glacier
#

just tried this, still 2200ms

#

i'm going to try on my personal laptop tonight to see whether is there any difference

main glacier
#

Hi everyone, i will marking the post as closed.. i just tried on my laptop with the same step of installation and it gives me less than 300ms or 200ms which is 10 times lesser than my other laptop, could be what @steady vigil said, could be due to defender..