Actually I have done with the Wordpress website optimization through wp-optimize, Smush and wp-fastest-cache plugins and also optimizes images.
So my website speed reduced from 20+ seconds to 12-14 seconds almost.
But, I have checked with gtmetrix.com and pingdom tool, the number of requests from our website is still as it is (i.e. about 260+) and which is so harmful for SEO perspective.
I have to reduced those number of requests from our website and also increased speed from 14 seconds to 7 seconds.
So, what type of plugins or some custom activities I need to do for reducing number of requests from our website.
Please suggest.
Consider abandoning any use of plugins that perform these functions. Everything you are getting with compression plugins, is a simple job you can do yourself, lightening the processes and allowing Wordpress to be leaner and more secure.
As far as excessive requests are concerned, the same principle as stated above applies. The use of third-party plugins, involves a massive expenditure of useless resources and calls to scripts that are often redundant on all pages. The work to be done is to exclude all requests for various scripts in unnecessary pages.
Let's take a trivial example. By installing the Woocommerce plugin that everyone uses, they don't realize that the plugin in question preloads all the additional files it needs on each page and not on the pages that are strictly necessary. Like for example the js that allows the product gallery, it is also loaded into the homepage where it does not exist.
So be patient, check every additional request and exclude it if not necessary using the simple native Wordpress functions.
Forgive my bad English, but I hope I made myself understood.
Related
I'm reviewing a WordPress website that has been running for four or five years. The website has a selection of WordPress plugins that they use to optimize the site's page speed, and I have a suspicion that they have just added multiple over time without thinking about the others. The plugins are the following:
Autoptimize: A plugin that concatenates scripts and styles and has some inline and defer CSS features. Good customization settings. Currently active on the site.
Smush Image Compression: Resizes and compresses most popular image formats for websites. Currently active.
Better WordPress Minify: Combines and minifies CSS and JS scripts. Active on the site but only used to minify JS files.
PageSpeed Ninja: Another compression and minification plugin. Is active on the site.
So recently I ran the site through Page Speed Insights and far and away the most recommended suggestion to help the page load faster was server response times. In WordPress they recommend removing unused plugins and I want to reduce the optimization tools down to ideally 2 plugins. I was wondering if anyone here has any suggestions on possible pairings that might work (or have previously worked) well or whether it's just going to be easier to go through every plugin one by one, tinkering with the settings and running tests?
I am open to alternate plugins and strategies. Any wisdom would be appreciated.
A standard bag of tricks would be W3 Total Cache for optimising server response times via caching and minification of CSS and JS.
Smush is ok for image compression (although you will probably need premium for it to be completely useful) but a lot of the time you will find that a theme is not correctly configured to take full advantage of it (they don't offer different image sizes for different screen sizes).
I roll my own image optimiser that does everything locally but most people seem to say that EWWW Image Optimizer gives the most flexibility for free. not a personal recommendation.
You only really need the W3 Total Cache plugin and an image optimiser, beyond that you are into actually learning how to optimise a site properly as all of the other plugins tend to make a mess.
How to reduce ttfb time ?
my wordpress site has very long ttfb time.
i tested result several time and result absolutely confuse me sometimes is lower than 200ms sometimes more than 5s !
what is the problem ?
network configuration or server side scripts ? or something else ?
It is not really a Wordpress specific problem as all websites should try to have a ttfb time as little as possible.
Generally speaking when you use a tool like Google page Speed or PingDom (to name a few), you should get some advices on how to improve your ttfb time.
Like using a cache system, compress and regroup JS/CSS files, reduce images size, using a CDN, etc...
Now on Wordpress ecosystem, you have a lot of plugins what can help you with that (especially if you're not a developper).
Here is a list of some I know and have already used that may help you:
W3 Total Cache (caching plugin) - A good free solution for setting a cache system on your WP (realivelly complicated to handle though)
WP Rocket (caching plugin) - an excellent non-free solution. Work pretty well (much easier to handle than W3 Total Cache). Affordable.
Imagify (image compression plugin) - this plugin re-compress and optimize you medias. It is developped by the same company as WP Rocket, you need to create an account on there service to use it. And they have a free plan.
In any case, if you're not a developper, I encourage you to get help from one because some caching options can produce unwanted effects like a JS component that doesn't work anymore of stuff like that so you need to test if your website still works each time you make a change.
Note: long ttfb time can also be related to the server itself (mutualized one for example).
Hope it help.
I did all the things Like image optimization, rendering for page speed optimization. I checked my mobile page speed increasing but desktop page speed not increasing it's still 22 again and again. I want to know why I am facing this problem. My website is www.sagorkhan.com. Can anyone please help me?
enter image description here
There are many factors that could affect your page speed and actually I see you've done a good job so far but you may go a litter farther.
I've tested your site with google page speed, pingdom tool, gtmetrix, webpagetest and here is my conclusion:
I guess your problem is about how to reduce server response time. While testing your site, it took more than 3+ seconds (6 on webpagetest) to completely load which may be considered a huge time. Reduce the server response time is not an easy task and could be a real challenge but here is a few tips:
1. Images optimization:
You said that you've done image optimization but still, your site have some huge images, one of them for example, is about 1MB which is can really affect the server response time. These images can be easily optimized, just go to google page speed and after you test your site scroll down and find: Download optimized image, JavaScript, and CSS resources for this page. Download the zip file and try to replace the old images with optimized ones using any FTP client, FileZilla is more then good for that.
Note that you can find the images locations under Optimize images section in case you don't know the location. Repeat that step again to make sure all your images are optimized.
Also I'd recommend some plugins like wp-smushit for optimize and compress all of your images and Regenerate Thumbnails to fix Serve scaled images issue. tinypng is good online alternative too if you like to do it manually.
2. Optimize CSS Delivery
That's not easy actually because it may requires to optimize the code and structure of your theme but you can give Autoptimize or W3 Total cache a try. Both support combining and minifying all enqueued JS, and CSS files.
3. CDNs:
CDN can really accelerate your site and greatly reducing your page loading time. Now, there are tons of good CDNs providers but I would recommend CloudFlare as a start since its free and easy to use and their free plan is enough and does work really great.
4. Caching
WordPress caching is a must if you care about performance, I don't see any sign of caching plugins except your HTML, JavaScript, css files is minified already which is good but not enough. I would recommend W3 Total Cache or WP Super Cache.
5. Web Hosting
If you're hosing your site in a shared host, don't hope too much to get perfect page speed even if you done all the required optimization. I'd definitely recommend upgrading to a VPS since its kinda cheap (unmanaged servers can be cheaper then shared host) and not that hard to setup and secure, A small VPS server can have a significant impact on page load speed.
You are resizing massive images using HTML/CSS when you should be resizing them individually using Photoshop or a similar image editing tool. You have a lot of render blocking js, specifically they're the YouTube scripts you're running.
Another big issue is the sheer amount of stylesheet and js files you're loading -- 19 js and 13 css. Try combining your js files together as much as you can, as well as your css files ... you're going to want to minify them as well.
You're loading many components from various sources, adding more http request overhead. If it's possible, you should consider hosting your own copies of some files.
Take a look at the output from https://gtmetrix.com/reports/sagorkhan.com/cBTMzOjD ... that should get you on the road to optimizing. Make sure you take your time reading the pagespeed and yslow tabs.
I'm thinking of hosting over 100 pages on Wordpress and I'm worried about the performance. It's very easy to create a website with Wordpress, but is it able to handle it? What do you think?
It's true Wordpress doesn't handle Pages as good as Posts, but with 100 you should be fine.
This is mostly due to the fact that pages use a different mechanism to handle URL's and are hierarchical, as reported here that is enough to make a different impact on performance.
Wordpress has documentation about Performance but doesn't state exactly the amount it starts to lag, that is because it will depend on the hardware you're running your website on.
If by pages you mean posts, I recently worked with a site that had +21k posts and there were no problems on that end.
Hierarchical post types (like pages) can cause memory issues, here is the relevant Trac ticket. See also this blog post.
Wordpress can handle n number of pages.It is obvious that on every request by a user only one page is given in response and not all pages,hence you don't need to worry about website performance while considering number of pages...but If you do complex tasks in single page and user(or many users are) is accessing that page again and again than throughput will decrease and that will be for that page only,not for whole site.
Do not think about website performance on number of pages.
My site is running on Wordpress and uses Woocommerce to display most of the content. See my site here, I have a lot of images that could be part of the problem...
Google PageSpeed says I'm 0/100 for mobile speed and 11/100 for desktop speed, with a 44.5 server response time..
GTmetrix gives me an F for my speed, recommending I serve scaled images, leverage browser caching, add expired headers, make fewer http requests, and more.
I'm trying to interpret all of these poor scores, and would like some help on how to dramatically speed up my site.
Does anyone have any tips, or know what I can do to help increase the speed and improve my scores on these sites?
That site is certainly slow, however the load times appear to be primarily from the server (I'm seeing about a 3-5s load time before the server responds with content for the home page). This has nothing to do with how many images you are loading, it probably means you have a really slow plugin or piece of code.
I'm not sure how technical you are, but I'd recommend profiling your code. An easier solution may be to disable your plugins one-by-one until your site suddenly loads faster. Then re-enable every plugin except the last one to be disabled, and verify your site still loads fast. If it does, then the disabled plugin is likely the issue.