Slow Product Category Page WooCommerce - Need Speeding Up - wordpress

I have installed and customized WooCommerce Product Pages on my WordPress site, but one of the product category pages takes about 7 seconds on average to load. Other category pages load in around 3 seconds. I am struggling to find the reason for this. There are less products on this page than other pages and less sub-categories. I have installed plug-ins such as 'W3TC' and 'Better WordPress Minify' but it hasn't made much difference.
Has anyone else experienced an issue like this and if so, would you mind sharing how you resolved it?
Any help would be greatly appreciated.
Thanks

Using caching plugins is fine and dandy but the reason these pages load slowly is simply the data model that WordPress uses, post-types and the metadata look-ups. The only way to truly get speeds up is good hosting and turning on Object Cache on the server.
We enable this on a WP-Engine site and it was night and day. 12 seconds turned into 2.5 seconds.
Object caching
Object Caching is designed to capture queries to the database and store them in memory. This allows you to run an "expensive" query - a query that takes a long time - one time, and then reuse the results again. When used properly, Object Caching can give your site a speed boost by reducing the time that is spent accessing the database. Please note that this change can take a while to take effect.

There can be many reasons for a WordPress pages to load slower. But you problem seems to be unique.
Here are some useful tips by which you can speed up your page loading:
Optimize Your Images
The page on which you are having issue might have High Resolution Images.
Avoid displaying flash on your Page
Avoid too many advertisements
Cut off the Unnecessary ads from the page.
Do not use inline cascading style sheets
Besides utilizing inline cascading style sheets make a CSS file and call up file on all page of your site that will likewise help in repressing download speed.
Put stylesheets at the top - Put scripts at the bottom
Utilize javascript at the bottom of the page this will serve to load up your page fast. When web browser download javascript it will finish downloading your internet site data, and so any analog downloading will end while browser request Javascript downloading.
Use CSS Sprites
A CSS sprite is an an image comprised of other images used by your design as something of a map containing the coordinates of all the images. Some clever CSS is used to show the proper section of the sprite when your design is loaded.
Here you do not have to load multiple images which are used on you site. Just loading of a single sprite image will do all your work.
Limit Your External Scripts
There might be a issue that external script is being loading on that page. You need to check and limit the same.
Add LazyLoad to your images
You can use this technique to load the page part by part.
Control the amount of post revisions stored
I saved this post to draft about 8 times.
WordPress, left to its own devices, would store every single one of these drafts, indefinitely.
Turn off pingbacks and trackbacks
Let me know if the problem resolves using these tips for you site.

The list of suggestions that WisdmLabs mentions above is great!
However, I'm not sure if you've seen the plugin for Wordpress called W3 Total Cache. It has a load of built in functionality to automatically improve the performance of your Wordpress web pages.
It's free and worthwhile using if you are looking to improve the performance across your whole site.
https://wordpress.org/plugins/w3-total-cache/

Related

My Wordpress Website is Slow to Respond on Moving to Another Pages

My wordpress website is suddenly slow to respond when I want to view another pages. For example, if I clicked one link on the menu, it took around 10-15 seconds for the website to move to the page linked. However, when the website responded and move to the page, the content loaded fast. So, I thought it was not about the loading speed of my website. Correct me if I am wrong.
Are there any solution for this?
Thanks
It is likely TTFB (time to first byte) problem - it takes a long time for your server to generate the HTML of the page and send it as an answer to the request. Meanwhile when the HTML is already sent - all the js files and images are loading fast enough, as you described. There's just this "delay between switching pages".
This could be caused by plenty of factors, I recommend reading a profound article to understand all the nuances, like this: https://kinsta.com/learn/page-speed/
But in short, the first and most sure way to cut down your page loading speed with the described situation - use page caching. You can use https://uk.wordpress.org/plugins/w3-total-cache/ free plugin as the first step.
Managed WP hosting with built-in caching would be even better, but prices start from 30$ per month if that works for you.
Please open this link and follow the steps accordingly
https://www.codeinwp.com/blog/ways-to-speed-up-wordpress/

Very slow "portfolio" section of Wordpress

A client of mine is adding content to his Wordpress. The site is www.airsolid.ca.
He uses "portfolios" to add his different boat models. All seems fine except when we click "all boat models" in the section where it lists all items, it takes up to 30 seconds to load.
Here is the direct link to the section:
http://www.airsolid.ca/bateaux/
Any idea on what I could change to make it load under 3-5 seconds? I have a feeling it loads all images at once... and since there are many, it takes way too much time. Ironically, he doesn't even want the images to show when he lists them.
Use https://tools.pingdom.com to monitor what's loading, how long it's loading, etc. You can see if images or scripts are holding it up.
Since the screen is white while it's loading, I'd imagine it's a query issue. You can use the Query Monitor plugin to help determine the cause.
I used pingdom and got these results: https://tools.pingdom.com/#!/ekJpVY/http://www.airsolid.ca/bateaux/
It had 1 request until the ~22 second mark at which point the CSS/JS/Image requests came in, which means that it's not being held up by scripts or images.
The page is only ~2mb, which means it's not loading all the images either. I'd start with Query Monitor - it's definitely something server side, probably a faulty WP_Query or other issue in a PHP loop.

How to find out why wordpress blog is loading so slow

We have a Wordpress blog that takes between 10 - 45 seconds to load. I've backed up the site and the database, updated the plugins (and the Wordpress version), and all to no avail.
I'm trying to find out if the issue is with the blog itself or the host (dreamhost). Before contacting dreamhost I'd like to alleviate all issues on my end first.
Any pointers or advice on how to find out the cause of a slow wordpress blog?
Edit: The backend admin panel also has very long load times when simply navigating the UI between various screens. Not sure if that points the issue towards the host more-so than the content on the blog since the content may not play that big of a role in page load times on the admin panel?
You can always test page speed with Google's Page speed insights.
By your blog's result, you should first reduce your image sizes.
You can do this with photo editing softwares like Photoshop or online tools like kraken.
In Photoshop you can do this by File->Save for web.
Next issue is server response time. To reduce server response server need to process less php. Caching helps this issue. You can install wp-super-cache. This plugin also helps many other features which helps in optimizing your site. ( Server response time also depends upon many other factors. Refer this. )
For css and js minification you can use Autoptimize.
You also can add your scripts just before </body> instead of <head>.
I would venture to guess that your media library is huge; not only with the amount of pictures but the sizes of them. To run at optimal speeds, you should pretty much edit those photos before they go on the site so they are closer to the desired display size. Having a lot of pictures in there at 1,000px plus can cause the site to load very slowly.
Try with P3 (Plugin Performance Profiler) to examine the impact of plugins ( and WP core ) on your site's load time. You will be unpleasantly surprised when you realize that some plugins do not care about performance at all ( for example only one plugin like NextgenGallery can take up to 60% of load time ).

What is causing such a long wait time on my blog page?

I have recently developed 4 websites in WordPress using the rtpanel theme framework.
When I put the websites live, I noticed that a couple of them upon clicking through to the blog page, are taking up to 25 seconds to load. (see link)
http://tools.pingdom.com/fpt/#!/brQN7J/www.exactabacussoftware.com/blog
Can anyone tell me what is causing this long wait? If i change my theme back to twentytwelve it loads fine and the same applies on the other sites eg: http://www.exactabacusfulfilment.com/blog
The two examples are both running on the same server using the same theme but I cannot find out what is slowing the software site down so much.
Any help would be greatly appreciated!
It seems that PHP execution is taking lot of time. The analysis of your site shows that it takes around 22 seconds to generate HTML.
There could be few reasons why php execution is taking time:
You have activated some plugin which is causing your site to slow down.
There may be some theme component which is causing your site to load slow.
Your database queries are taking long to execute. (If this is the case, check why this is happening and you can enable Memcache to cache mysql queries)
Install and activate P3 (Plugin Performance Profiler) on the website and find out which component of your site is taking the performance of the site down. To debug in detail, you can also try Query Monitor plugin.
Once the issue tracked down and resolved, you may activate PHP-APC on your server if you do not make changes to the code.
There are couple of really easy ways to investigate the reasons behind slow loads:
Google Page Speed. Basically you feed the URL and you will get list of suggestions how to improve the page load speed. Here is the url for testing for your site:
http://developers.google.com/speed/pagespeed/insights/?url=www.exactabacussoftware.com%2Fblog
The first thing that I notice is very high server response time (in my tests between 0.5sec and 1.6sec). This means that it takes at least 0.5+resource download time sec to load every image, javascript etc. If you have 100 resources this will take you 50 seconds or so which is a lot. So you might want to look for hosting alternatives.
Google page speed will give you more details what could be fixed and improved look through it and try to solve those issues. It should help you to improve your speed quite a bit.
Another option is Google Chrome Developer Tools, Firefox Firebug or similar tools. Just open Network tab and reload the page, you will be able to see how long it takes to load one or another resource of your page.
Another option is Google Chrome Developer Tools, Firefox Firebug or similar developer tools. Just open Network tab and reload the page, you will be able to see how long it takes to load one or another resource of your page.
Building on that.
It looks like there is 2seconds of latency before your server even answers the first GET request --- followed by another 2 seconds that contain 84 more GET requests.
Now, a 4 second load time isn't awful, but if you want it to go faster, the best thing you can do is:
1). Combine all of your javascript files into one file - making sure jQuery/other dependencies are first.
2). Combine all of your PNGs into one file -- a sprite -- or, alternatively, Base64 encode them all.
3). A lot of those pngs could be compressed --- 5kb for an icon is a bit big. 66kb for an image is certainly too big.
4). Same thing with your CSS -- combine them all, and there will be fewer requests.

Wordpress site painfully slow

What tools are there out there for determining why a site takes so long to load pages?
I'm using a very simple theme that I changed to fit my needs, it's a brand new site with only two test posts and it takes a while to load.
I used YSlow for Firebug and it gives the site a Grade A (90) so that doesn't really help. Is there anything else out there that might help me figure out what's going on?
try using a profiler like xdebug, how to setup:
http://codex.wordpress.org/Testing_WordPress_Performance#Configuring_Xdebug_for_Profiling
according to your site, the page is taking a long time to generate and doing a fairly large # of queries:
<!-- 28 queries. 2.728 seconds. -->
<!-- Dynamic page generated in 1.553 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-01-12 16:23:03 -->
so.. was there a plugin that was recently added that may be doing a lot of db calls?
supercache will help a lot, requests won't need to run all those queries if the page is cached...
Your site has a lot of (relatively large) images, which are scaled to a very small size. I suggest you create thumbnails of the size you need.
Edit: I just reloaded the page, and it goes fairly faster now: most probably because all the images were now buffered.
Reverse DNS shows 35 other sites on your shared server at dreamhost; if you're concerned with speed, shared hosting is an issue.
Try the Wordpress plugin P3 (Plugin Performance Profiler).
This could help if a plugin is part of the problem.
There's a lot of things that could cause this:
Slow internet connection
Slow/overloaded shared server
Wordpress is not the best written code and is quite slow
You can try using a wordpress cache plugin to make things faster (it wont compile the page every time someone accesses the page).
I saw a front page load time of 7.5 seconds (according to wp-super-cache).
I'd first look at the amount of content you're listing on the front page. Try reducing it down to just the first day's content at the top and see if the page speeds up. If that works then you need to look at optimizing the content pull on the front page. If those are each a WordPress loop then you're going through a lot of high load routines. You might look at using filters on each of those WP Queries to only pull the small amount of data that you need to display the page.

Resources