Imported site is too slow

Using the All In One plugin I made a copy of my Wordpress Site located on my host server and imported it to my local machine using Flywheel. I currently have 3 earlier versions of the same site that run perfectly and fast but for some reason this imported site will not run fast and is taking between 1 - 3 minutes to load any page.

Here are some of my configs…

  1. Mac OS Mojave 10.14.2
  2. Flywheel is set to Custom on NGINX using PHP version 7.1.4 and My Sql version 5.6.34
  3. Wordpress version 5.0.3

The other versions I have that are running perfectly are using the exact same set up except or one thing… PHP version 5.6.

Please help.
Many Thanks,
Scott

Hey There Scott,

Sorry that site is going a kinda slow for you! That isn’t good performance at all. Question so you have Avast anti-virus running on your machine? This as been found to be a speed issue in the past. Also have the plugins changed from different versions?

Local already uses PHP-FPM in both the Preferred and Custom environments (even with Apache). Also, Zend OPcache is enabled for both environments.

There could be VM CPU/RAM or disk I/O bottlenecks. Here’s what you can try:

  1. Close Local if it’s running
  2. Open VirtualBox
  3. Right-click on local-by-flywheel and go to Settings
  4. Go to System
  5. Increase the Base Memory to 2GB
  6. Go to Process
  7. Bump up the CPU cores to 2 if possible

Make sure Faster Docker Volumes is enabled under Local » Preferences » Advanced. If it’s already enabled, you can try disabling it and see what happens.

Many thanks for your prompt reply. I tried all your suggestions but unfortunately no luck. What confuses me is the fact that I have other sites in same exact environment which run fine. I even deactivated all the new plugins so as to have the same plugins as the sites that run without hitch but still no luck.

I am at a dead end now :frowning:

Just a suggestion and something I just learned today. (Yea…I’m new.) Using Google Chrome, open a new tab. Press F12 (or Fn+F12 on Mac) and open the developer tools. Click on network and then load your site. It will show you how long each element takes to load and can maybe assist you in tracking down the trouble.