Current time: 12-12-2019, 03:05 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why my website is slow
04-18-2014, 03:55 AM
Post: #1
Why my website is slow
Hi, I have a website where Google speed test shows very bad and says it should be loaded within 200 ms. However on webpagetest.org it shows that it is able to load in 13.26 ms. Then this should be within the limits of google, but not sure why the page speed still shows 65/100 only. can any one help me to understand this.
Document complete - 10.17 s
Fully loaded - 10.558
Not much difference between first view and repeat view. Can any one help. Here is my website http://myinvestmentideas.com
Find all posts by this user
Quote this message in a reply
04-18-2014, 03:48 PM
Post: #2
RE: Why my website is slow
Hi, You are right when you say the performance is terrible on this site))



Server time:
1 - Looks like you are using Wordpress : Some plugins may slow down the site- disable one by one
2 - May sure memcache is Enabled
3 - Cache control for your html is not set correctly, on repeat view , it takes the same time to download your page ))
4 - You CSS files -you have like 8 kb of CSS - inline in in HTML head
5 - Favicons - you have two favicons and none of them is shown on the site)))
6 - THE MAIN EVIL - Facebook and TWITTER - these guys should be deffered on ONLOAD EVENT - look for this in net
7 - HTTPS for FB and twitter should be changed on HTTP , and also for this https://apis.google.com/js/plusone.js
8 - do you really use Custom fonts? I think no
9 - By the way, you have too little of js, you can inline in HTML head
10 - Too many different domains
11 - too many redirects

and so On
Main idea: deffer all additional stuff on onload event, inine CSS and JS, Check Server settings.

Your site will be in 3-4 times feels faster
Find all posts by this user
Quote this message in a reply
04-19-2014, 01:34 AM (This post was last modified: 04-19-2014 01:39 AM by Anton Chigurh.)
Post: #3
RE: Why my website is slow
(04-18-2014 03:55 AM)hisureshkumar Wrote:  Hi, I have a website where Google speed test shows very bad and says it should be loaded within 200 ms.
It does not say that. NO site loads that fast. The 200ms is the targeted first byte time. Two Hundred, MILLIseconds. Ignore this figure.

The first thing you should do before anything else is compress the images and optimize the JPEGs. This will take 300kb right off of your 1.4 MEGAbyte page load. Next, you should leverage browser caching of static content - this is easily accomplished via .htaccess file, add this code to the top:
Code:
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A2628000
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType video/asf A2628000
    ExpiresByType video/avi A2628000
    ExpiresByType image/bmp A2628000
    ExpiresByType application/java A2628000
    ExpiresByType video/divx A2628000
    ExpiresByType application/msword A2628000
    ExpiresByType application/x-msdownload A2628000
    ExpiresByType image/gif A2628000
    ExpiresByType application/x-gzip A2628000
    ExpiresByType image/x-icon A2628000
    ExpiresByType image/jpeg A2628000
    ExpiresByType application/vnd.ms-access A2628000
    ExpiresByType audio/midi A2628000
    ExpiresByType video/quicktime A2628000
    ExpiresByType audio/mpeg A2628000
    ExpiresByType video/mp4 A2628000
    ExpiresByType video/mpeg A2628000
    ExpiresByType application/javascript A2628000
    ExpiresByType application/x-javascript A2628000
    ExpiresByType application/vnd.ms-project A2628000
    ExpiresByType application/vnd.oasis.opendocument.database A2628000
    ExpiresByType application/vnd.oasis.opendocument.chart A2628000
    ExpiresByType application/vnd.oasis.opendocument.formula A2628000
    ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
    ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
    ExpiresByType application/vnd.oasis.opendocument.text A2628000
    ExpiresByType audio/ogg A2628000
    ExpiresByType application/pdf A2628000
    ExpiresByType image/png A2628000
    ExpiresByType application/vnd.ms-powerpoint A2628000
    ExpiresByType audio/x-realaudio A2628000
    ExpiresByType application/x-shockwave-flash A2628000
    ExpiresByType application/x-tar A2628000
    ExpiresByType image/tiff A2628000
    ExpiresByType audio/wav A2628000
    ExpiresByType audio/wma A2628000
    ExpiresByType application/vnd.ms-write A2628000
    ExpiresByType application/vnd.ms-excel A2628000
    ExpiresByType application/zip A2628000
</IfModule>
You are getting good performance for simultaneous downloads, but you simply have ALOT of calls - 134 requests for each pageload. Find unnecessary items and take them out of the script.

As was said above, you have way too many third party calls - your site will only load as fast as the third party requests do. Try to eliminate as many of them as you can. Rule of thumb here - if they don't generate revenue there is no compelling reason for them to exist.

You are slow mainly because you are fat. How fast do you expect 1.4 megabytes to load on a browser? Slim it down. You understand megabytes right? One megabyte is, one MILLION bytes.

WebPageTest result: http://www.webpagetest.org/result/140418_XP_J8Q/
Find all posts by this user
Quote this message in a reply
04-24-2014, 11:09 PM
Post: #4
RE: Why my website is slow
Maybe to try CloudFlare? Sleepy
Find all posts by this user
Quote this message in a reply
04-25-2014, 03:26 AM
Post: #5
RE: Why my website is slow
(04-24-2014 11:09 PM)histerius Wrote:  Maybe to try CloudFlare? Sleepy
It's never, ever been shown to help with speed, or pageload.
Find all posts by this user
Quote this message in a reply
04-25-2014, 11:32 AM
Post: #6
RE: Why my website is slow
(04-18-2014 03:48 PM)Funkerman88 Wrote:  Hi, You are right when you say the performance is terrible on this site))



Server time:
1 - Looks like you are using Wordpress : Some plugins may slow down the site- disable one by one
2 - May sure memcache is Enabled
3 - Cache control for your html is not set correctly, on repeat view , it takes the same time to download your page ))
4 - You CSS files -you have like 8 kb of CSS - inline in in HTML head
5 - Favicons - you have two favicons and none of them is shown on the site)))
6 - THE MAIN EVIL - Facebook and TWITTER - these guys should be deffered on ONLOAD EVENT - look for this in net
7 - HTTPS for FB and twitter should be changed on HTTP , and also for this https://apis.google.com/js/plusone.js
8 - do you really use Custom fonts? I think no
9 - By the way, you have too little of js, you can inline in HTML head
10 - Too many different domains
11 - too many redirects

and so On
Main idea: deffer all additional stuff on onload event, inine CSS and JS, Check Server settings.

Your site will be in 3-4 times feels faster

Number 3 and 10 on this list are really important. You need to go through each of these items methodically if you want to see a significant improvement. The Good news with Wordpress is that such improvements are possible without too much work.

David Trounce
www.malleeblue.com
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)