![]() Downgrading back to PHP 7.4.1 it goes back to slowness it was previously.Upgrading the new slow project to PHP 8.0 makes it unusable.The new slow project is set to use PHP 7.4.1 and MySQL 5.7.28 from setup.The first one that’s now fast is set to use PHP 7.4.1 (downgraded from 8.0 at setup) and MySQL 8.0.16.However, I migrated another project over to this Windows machine and set up the server using the same versions as it was previously set on my Mac and it’s slow. The project I have going that I mentioned previously is still running fast after lowering the PHP version, so that’s going good. Would you be able to record a screencast so that I can take a closer look and have a better idea of how to replicate the issues that you are seeing? ![]() I went ahead and added exclusions for Local related files to both of those tools and creating a site does feel faster. All the “server” files (configuration and data files for PHP/nginx/MySQL).Zooming out a bit, creating new sites does create a lot of files. Add exclusions to “Virus and Threat protection” settings.According to Howto Geek this program looks like this is part of Windows defender and is probably scanning all of the files that are being created when a new site is created.Add exclusions to “Windows Search Settings”.According to Howo Geek, this is indexing new sites so that they are available for windows to search.I was curious to see what things were going on and after opening the Task Manager and monitoring things during a new site creation, two things stood out: One thing I noticed right away is that there was some slowness within Local when creating new sites. (I think 2015 model?) It runs Linux well and a somewhat clean install of Windows eventually runs ok, but the overall OS feels sluggish to me. I have an older Dell xps 13 i5-5200U with 8.GB ram. I’m happy to take a closer look and try to replicate if you can point me to an example site that I can test on.įor the first item – slowness of Local itself – I was able to replicate a bit as well as tinker with Windows settings to improve things. That second option is more than likely due to a specific mix of plugins and themes, so it’s hard to replicate without knowing more about an individual site. Is it happening within the Web browser for the actual WordPress site?.Is it happening within Local with slow click events or transitions within the Local UI?.In my mind, the first question is where the performance slowdown is happening: It’s UI isn’t as pretty as Local, but it is performing way better at the moment, so I don’t have much choice but to change tooling. Laragon was loading pages in 1.5 seconds for me… so that might be the winner. Plus putting my working files in the Linux subsystem is supposedly great for speed, but means I can’t use my preferred git client. The whole point of these tools was to try to avoid doing that myself. And possibly set up a LAMP stack in the Linux subsystem… though I’d prefer to stay away from setting up a server via command line. I won’t even go near VVV after my last experience. Lando looks so promising, but I’m getting similar page speeds. ![]() So I am testing out a bunch of other options. ![]() Still, Local is 30-60 seconds per admin page. (I’ve even tried turning my AV off temporarily). But I’ve tried changing the DB_HOST to '127.0.0.1' and excluding the Local files from my Anti-virus. Several of the tweaks in those threads now seem out of date for Local 6. Well, I don’t work here, but I’ve been working on this for a while and I don’t think I can use Local.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |