Since Monday and conducting a series of plugin updates on the site and installation of the latest version of WordPress, my site has majorly slowed down. By slowed down I mean it is taking 5-10 minutes to save a page I am working on and in most cases the connection to the server is timing out.
Tech support are proving of no help and keep saying it is either a problem of lack of memory “we have a bigger package here – why don’t you upgrade?” or else the site is getting too much traffic. However, none of this was a problem before Monday and everything was going smoothly.
I am not a developer, just a self-taught amateur so I am appealing for help in solving this. I have so far rolled back all the various recently updated plugins but this makes no difference.
Site Health says “Page cache is detected by looking for an active page cache plugin as well as making three requests to the homepage and looking for one or more of the following HTTP client caching response headers:
cache-control, expires, age, last-modified, etag, x-cache-enabled, x-cache-disabled, x-srcache-store-status, x-srcache-fetch-status. Median server response time was 1,129 milliseconds. It should be less than the recommended 600 milliseconds threshold.” It also insists that no caching plugin is installed, even though I am using Cachify.
Tech support suggested that the problem was due to a high number of Ajax calls being placed on the server with each post/page. I installed WPRocket and reduced all ajax calls to zero but this seems to make no difference.
I am at a loss for solutions. Help needed as I am beyond my depth on this. Any help greatly appreciated. I can provide some of the more detailed reports from tech support in PM if anyone requires more detail
Add – After installing Query Monitor on advice of people below (thank you), the following comes up. The question is what does it mean and what do I do? Message is as follows
“ob_end_flush(): failed to send buffer of zlib output compression (0)”
And location is ” wp-includes/functions.php:5420 ob_end_flush() wp-includes/functions.php:5420 wp_ob_end_flush_all() wp-includes/class-wp-hook.php:324 do_action(‘shutdown’) wp-includes/load.php:1270 shutdown_action_hook() wp-includes/load.php:1270″
[ad_2]
Was a version of your website saved as backup through your web host? If the plug-in updates aren’t essential to the website functionality, I’d just revert back to the previous version. Only a bandaid fix for now but at least makes your site functional while you figure out another solution?
What version of PHP are you using?
Not sure it will help but disable XML-RPC. It can be a resource hog if it’s getting hammered from the outside by ne’er-do-wells.
install [Query Monitor](https://wordpress.org/plugins/query-monitor/) (check out whatever is tagged in red) and check your error logs.
Try switching the theme temporarily to see if that improves things. If it does you have an issue with your theme.
You can also try disabling plugins one at a time to see your performance improves.
Also check what version of PHP you’re using. You should be at least 7.2 (I think).
Query monitor is your friend here.
Deactivate all your plugins – every single one of them. Then see how your site behaves. If the site is fast after doing that, then enable your plugins one by one and check your site speed after each one is enabled. This will usually help you find out which plugins are causing the most noticeable difference.
Copy the site to a staging server and deactivate plugins one by one to see which one is the source. Combining this with Query Monitor as others have mentioned is a good way I typically use a lot.