I’m using a theme and some plugins on my website. The front of the site works fine but the backend is very very slow. It’s a directory website I have thousands of entries at the back end. Any one has any idea what are the usual reason for the backend to be slow. Also it is a .com.bd domain. I don’t think that’s a problem though.
Yes, the content is always served as HTML in the browser. However, if you are using a caching plugin, you are serving static HTML to visitors who are not logged in. The Wordpress engine is not running to generate the output and make database queries as that content has been saved in the cached files. The server transmits the cached HTML files to the browser instead of running the Wordpress engine which requires much less server resources.
Wordpress is a very bloated script. It consumes a lot of server resources to generate one page view. That is why many people using caching plugins. The question now is why your admin area is loading slowly.
If you log in to your Wordpress then view the regular non-admin site pages, does it load slowly? If so, there is a good chance your web server is overloaded. The admin area checks external websites to check for updates to the Wordpress core and plugins. It is possible that could be the cause of the slowdown. But I have a feeling you may be on an overloaded server. That’s the first and most simple thing to check.
I have a simple little script in the post linked to below that you can copy and place into a PHP file and then run the script by navigating your browser to it. It will output the server’s load average. If the load average is high, we know right away what the problem is. If the load is not high, then further investigation will be required.
Your server has almost no load, so that cannot be the reason for the admin area slowness. Your site loads pretty fast when you turn off your caching plugin? Do you know how much memory is available to your script? You can find out by running this function and looking for the memory_limit field:
Others have had trouble with admin area slowness. You can read through possible solutions and plenty of theories. One is to increase the memory available. Another is to check to ensure your host does not have any firewall rules blocking the admin area from pulling data from external sources. Some of the threads may be relevant to older versions of Wordpress 3.x.
256 MB memory limit is very good. Your server is not overloaded and you have plenty of memory. Caching plugins should only work on the front-end, not on the admin area. So I do not think that would be the cause. As of this point the obvious problem areas have been cleared as possible suspects so as part of troubleshooting, all plugins should be disabled then testing should occur, enabling plugins one by one and testing each time.
In your phpinfo() output, do you see anything related to PHP-FPM?
That is pretty important to know. I did a test on tools.pingdom.com of your site. The index page load speed was reasonably fast (if it is dynamically generated). The DNS lookup and connection times were slow (both over 350 ms, but that could be due to the .bd extension). The wait time for the HTML to be generated was fast and the receive time was fast. What really stands out is the 2 second wait time for CSS file businessdirectory.com.bd/?sccss=1&ver=3.9.1 that returned only 565 bytes. You may have to do something about that.
The connection times for your content hosted on Amazon was slow as well.
Run a test on tools.pingdom.com and you can see where the slow parts of your page loads are. Your main html loaded fast (but it is early morning). The real test would be to turn off the caching plugin and allow it to generate on-the-fly.
From what I have seen so far your server does not appear to be overloaded and your site seems to have a few slow spots.
WordPress makes a lot of function calls to the database. If your “options” table is large this could be causing a slowdown.
If your site is relatively “stable” one of the easiest things to do would be to go through the template files and hard-code anything you can.
eg. if your site name is “SiteName” do you really need to have a function query the db to get that to place it in the markup?