Hello. My homepage html it looks that is larger than normal. Is: 147 KB
How can i make it smaller? my site: http://www.storypickers.com
All the best
Make sure your thumbnails are all as compressed as possible; change default compression level in wp-config.php or use a plugin. All the little images on home page should be very compressed as they are just visual placeholders. Make sure things like logo is very compressed also (e.g., if it’s only 4 colors, use .png vs .jpg, etc.).
Make sure you have gzip/deflate running as this compresses page for web browser automatically.
ADVANCED:
For advanced uses, consider server side compression like mod_pagespeed, or a caching plugin that might also remove blank spaces, comments, to reduce the file size of the HTML. For super advanced use, consider web host that runs both http/2 and mod_pagespeed (MPS can remove all comments, double spaces, tabs/indents, comments, and other elements that pad the page on the fly, then cache it via server side caching like opcache).
147KB for the home page is no longer considered “large” by today’s standards.
15 years ago, we tried to keep pages to no more than 50kb total. But now with wireless being faster than modems back then, larger resolution displays, more images, etc. — 200 – 300kb pages are no uncommon. 1MB is a lot. 147kb is not.
Hi Chris. Thnx for your reply. I just fix it by deleting some posts in my homepage.
This was the issue about “cloaking” if you remember. Because my homepage had a large size of html and google couldn’t crawl it.
This is fixed. I have a question, about after setting a preferred domain.
I finally fix it by putting a 301 redirect code in .htacces. SO my question is this:
Does I need to put rel=canonical in my html also, or is enough only by redirected code I already put it, in order google to know that mo domains are the same?
Per your prior post, and others — see the Google page I’ve linked to.
You “should” always have canonical link in all HTML pages.
If you’re using YOAST SEO, it’s there. Look at your page source 🙂
Canonical URL in your HEAD area of each page on your site SHOULD be the “official” version of the page, as I noted previously. 🙂
Yes, you’re right. It was in all my pages. Thank you so much for your help 🙂