Why is my WordPress admin site so slow?

Why is my WordPress admin site so slow?

Increase WordPress memory limit In some cases, the admin dashboard is slow because the PHP memory limit on your WordPress is set too low. The system default is 32MB, but it’s common practice to increase it. For example, WooCommerce’s recommended PHP memory limit is 64MB. I recommend trying a PHP memory limit of 128MB.

How optimize Admin-AJAX php?

So, to keep your site dynamic but reduce ajax overload, set the frequency from 15 to 300 from the menu. Doing so will change the request time from 15 seconds to 300 seconds and will reduce the server load a lot. In case of low CPU configuration, we recommend you to disable Heartbeat API from Frontend and Dashboard.

How do I diagnose high admin-AJAX usage on my WordPress site?

Disable all your site’s plugins, clear your site’s cache (if any), and then run a speed test again. If admin-ajax. php is still present, then the most likely culprit is the theme. But if it’s nowhere to be found, then you must activate each plugin one-by-one and run the speed tests each time.

How can I speed up my WordPress admin?

How to Speed Up Your WordPress Dashboard

  1. Rule Out Connectivity Issues.
  2. Choose a Better Host or Upgrade Your Hardware.
  3. Make Sure It’s Not the Whole Site.
  4. Use a Caching Plugin, but Disable Database and Object Caching.
  5. Utilize Proper Cloudflare Page Rules.
  6. Review Recent WordPress Updates.
  7. Remove High Resource Plugins.

Why is editing WordPress so slow?

The primary causes for a slow WordPress website are Web Hosting – When your web hosting server is not properly configured it can hurt your website speed. Page Size – Mainly images that aren’t optimized for web. Bad Plugins – If you’re using a poorly coded plugin, then it can significantly slow down your website.

How can I speed up my WordPress site without plugin?

How to Optimize WordPress Speed Without Plugins

  1. Use a Good Host.
  2. Use HTTPS.
  3. Use the Highest Version of PHP the Site Supports.
  4. Use Cloudflare.
  5. Turn on-Site Speed Optimizations in Your Theme.
  6. Compress Images Before You Upload Them.
  7. Make Sure Your Database Is Using the Innodb Storage Engine for All Tables.

How can I tell if WordPress AJAX is working?

To see if the current request is an AJAX request sent from a js library ( like jQuery ), you could try something like this: if( ! empty( $_SERVER[ ‘HTTP_X_REQUESTED_WITH’ ] ) && strtolower( $_SERVER[ ‘HTTP_X_REQUESTED_WITH’ ]) == ‘xmlhttprequest’ ) { //This is an ajax request. }

What is heartbeat API WordPress?

The Heartbeat API is a simple server polling API built in to WordPress, allowing near-real-time frontend updates.

Can I disable admin-AJAX php?

Completely disables frontend access to admin-ajax. php regardless of Heartbeat settings, to avoid unwanted AJAX calls and vastly improve performance. Completely disables frontend access to admin-ajax.

How do I fix my WordPress speed?

Fine-Tuning WordPress for Speed (Advanced)

  1. Split Long Posts into Pages.
  2. Reduce External HTTP Requests.
  3. Reduce Database Calls.
  4. Optimize WordPress Database.
  5. Limit Post Revisions.
  6. Disable Hotlinking and Leeching of Your Content.
  7. Use Lazy Loading if Needed.
  8. Use DNS Level Website Firewall.

How can I make my website load faster?

How to speed up your website in 2019

  1. Minimize HTTP requests.
  2. Minify and combine files.
  3. Use asynchronous loading for CSS and JavaScript files.
  4. Defer JavaScript loading.
  5. Minimize time to first byte.
  6. Reduce server response time.
  7. Choose the right hosting option for your needs.
  8. Run a compression audit.

Why is my WordPress site loading so slow?

In WordPress, a common scenario when dealing with a load time issue is that it might be caused by a spike in the admin-ajax.php file. In this article, you’ll learn how to manage plugin conflicts caused by spikes in the admin-ajax.php file and reduce the request for callbacks to optimize your WordPress site’s load time.

Why is admin-Ajax slowing down my website?

For some of us, the only time we’re dealing with this API is when we use speed test tools — such as GTmetrix, to figure out why admin-ajax.php is slowing down our websites. The causes for spikes can be from two different sources, either caused by third-party plugins or WordPress Heartbeat API request on the admin section.

How to fix WordPress post admin-Ajax takes longer to load?

Go to the Waterfall tab to inspect the website elements in more detail. The Waterfall window will present all of your website’s elements. While the rest of the files look ok, you notice that POST admin-ajax.php takes a longer loading time.

What is Ajax in WordPress?

Ajax allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. In WordPress 3.6, WordPress introduced Heartbeat API. The API stimulates the bidirectional connection between the browser and the server.

author

Back to Top