-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow performance - TTFB up to 60 #106
Comments
Could be from the remote database. Try with a local one. |
You could try running a profiler to measure whats slow (blackfire or xdebug or similar) |
Remote databases work fine when I use apache as the web server or when I use the original valet on macos. I installed Laragon and response and loading times where the same as on macos/valet, but laragon has some other issues, so I don't want to use that. It also works fine when I switch to the local db. |
Just booted up an ubuntu installation in virtualbox with "valet for linux" and it works as expected. |
Getting some 10060 errors:
|
The solution is for WSL but works nevertheless. |
@bonovski Where did you change this setting at? |
It's in
The file is located in |
Thanks so much! I had been looking in the wrong folder. Do you think running MAMP with Apache on port 8890 is affecting my response time? |
I don't think so, but nginx on windows can be finicky. I didn't notice any difference but it was recommended on the forums for nginx. |
I'm struggling with very slow performance in Windows, I've added fastcgi_buffering off; but it doesn't appear to have had any effect. Is there anything else I can try please? |
You can try adding |
Thanks, i'll give it a shot. |
I have a few wordpress sites that connect to a remote mysql DB.
The problem is that php/nginx performance is extremely slow, TTFB takes usually more than 20 seconds, but after that the site loads normally.
Anybody encountered similar issues?
WIN10, php7.2, mariadb 5.6 on remote server
The text was updated successfully, but these errors were encountered: