Current time: 12-16-2017, 11:03 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cloudflare CDN not detected
05-19-2014, 11:30 AM
Post: #11
RE: Cloudflare CDN not detected
(05-19-2014 06:29 AM)Pierceb Wrote:  
Well, I have finally reduced my website size in a 70% getting very good results. Thanks for your advice!

But the TTFB increased a lot: 22 seconds!

http://www.webpagetest.org/result/140518_ZJ_HZA/

How can I optimize the website now everything is reduced to make it faster? Thanks!
Perhaps for the test parameters you used when running that one test? I am testing you HERE with much better FBT results. I also re-ran your same test scenario and had alot better TTFB there too.

And for whatever reason, you're still showing to be hosted by cloudflare.
Code:
URL: http://www.limonbay.com/
Host: www.limonbay.com
IP: 108.162.197.36
Location: Cloudflare
Error/Status Code: 200
Client Port: 4118
Start Offset: 0.177 s
DNS Lookup: 81 ms
Initial Connection: 96 ms
Time to First Byte: 22033 ms
Content Download: 225 ms
Bytes In (downloaded): 36.5 KB
Bytes Out (uploaded): 0.4 KB

You still have the custom font files slowing you down, and still have 140 requests. You have trimmed the total KB load of the site down about 25% though, but not anything like the 70% you seem to believe. You were 1.8MB before, you are 1.3MB now.

You're still leaving over 250kb of fat on, via un-optimized images as well.

You're off to a good start and seeing improvement, keep it up!
Find all posts by this user
Quote this message in a reply
05-19-2014, 06:47 PM (This post was last modified: 05-19-2014 06:48 PM by Pierceb.)
Post: #12
RE: Cloudflare CDN not detected
Hi, thanks for your insights.

I have used a server in Amsterdam for my test (much closer to Spain, where my public is) than those in US, so the TTFB should have been better. And this is something bothers me, If I run the same test again 10 minutes later maybe the TTFB is 2 seconds, and if I run it again it is 45 seconds, it looks more like a random thing than a objective measure.

I suspect it could be because of the shared hosting in 1&1 and their server load at any given time, but if it's that it's a bit discouraging as I could be loosing traffic randomly for this reason.

I will keep optimizing, thanks for the guidance and inspiration!
Find all posts by this user
Quote this message in a reply
05-20-2014, 01:11 AM
Post: #13
RE: Cloudflare CDN not detected
(05-19-2014 06:47 PM)Pierceb Wrote:  Hi, thanks for your insights.

I have used a server in Amsterdam for my test (much closer to Spain, where my public is) than those in US, so the TTFB should have been better. And this is something bothers me, If I run the same test again 10 minutes later maybe the TTFB is 2 seconds, and if I run it again it is 45 seconds, it looks more like a random thing than a objective measure.

I suspect it could be because of the shared hosting in 1&1 and their server load at any given time, but if it's that it's a bit discouraging as I could be loosing traffic randomly for this reason.


I will keep optimizing, thanks for the guidance and inspiration!
This is all too typical of shared hosting because most shared machines are oversold, overcrowded, under monitored and under serviced.

BUT - this is why you optimize FIRST, because it is also typical of shared hosting providers to blame YOU for the issues. They will do as I have, pointing to the fat page, the 140 requests, the tons of images, the lack of image and file optimization, the use of custom font files, etc. They will even blame Cloudflare, saying, "Well see? Your site is not even hosted with us!"
Find all posts by this user
Quote this message in a reply
05-21-2014, 07:25 AM (This post was last modified: 05-21-2014 07:26 AM by Pierceb.)
Post: #14
RE: Cloudflare CDN not detected
Well, Finally I got 4 "A" and improving! (test: http://www.webpagetest.org/performance_o...1&cached=0)

Even tough WPT says I can compress some images, the GTmetrix tool and YSmushit says they are already compressed to maximum! Is there any way to compress them more or should I leave them like that?

I always get an F in progressive jpg. How can I implement it in my site? Will this make a difference?
I already use Lazy load for the images.

And the TTFB thing is giving random responses but more stable, under 10 seconds.

I have removed Google fonts and it looks better!
Find all posts by this user
Quote this message in a reply
05-21-2014, 09:08 AM
Post: #15
RE: Cloudflare CDN not detected
(05-21-2014 07:25 AM)Pierceb Wrote:  Well, Finally I got 4 "A" and improving! (test: http://www.webpagetest.org/performance_o...1&cached=0)

Even tough WPT says I can compress some images, the GTmetrix tool and YSmushit says they are already compressed to maximum! Is there any way to compress them more or should I leave them like that?

I always get an F in progressive jpg. How can I implement it in my site? Will this make a difference?
I already use Lazy load for the images.
http://www.webpagetest.org/pageimages.ph...1&cached=0

This is all of your images. Where it says "Not Progressive - Analyze JPEG" and shows there can be savings? Click on that and WPT gives you the optimized images. There's no need to use another utility.

Example, call # 50 - use third image they show you there. Rename to match, upload to overwrite.

Do this for all such you see, from the link i gave earlier.
Find all posts by this user
Quote this message in a reply
05-22-2014, 09:06 AM
Post: #16
RE: Cloudflare CDN not detected
Great improvements! I have put the favicon, compress the images (I cannot compress more without suffering visible quality loss), and redirect non www to www (via .htaccess).
http://www.webpagetest.org/result/140521_5B_12VY/

Now I have to think about remodeling the website so it needs less images than now.

And the TTFB issue, always there. Any suggestion is welcomed!
Find all posts by this user
Quote this message in a reply
05-23-2014, 12:11 AM
Post: #17
RE: Cloudflare CDN not detected
TTFB is largely going to be a function of your hosting. If you're on inexpensive shared hosting then that's pretty much the norm (not a good thing). You can try to reach out to the hosting provider to see if there is anything they can do but more often than not the right answer is to switch hosts but that can be pretty painful.

You may be able to jump through some hoops on the php side by caching database queries. It looks like there are some opencart caching extensions that you might be able to use: http://www.opencart.com/index.php?route=...arch=cache but they'd still just be hiding the underlying issue.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-23-2014, 01:18 AM
Post: #18
RE: Cloudflare CDN not detected
Note however Patrick, how much just reducing the load and optimizing images has improved first byte time? Alot.

To the OP: CloudFlare ADDS time to the TTFB, it does not subtract. It is also a point of contention with your host, if you try to get it to address the slow first response. They like to say "But you're not even hosted here!" To tell you the truth, your TTFB isn't all that bad now considering you are on shared hosting and loading 1MB. Changing hosts is a big pain in the ass and I don't recommend it personally unless the hosting you're on is simply untenable.

You've improved drastically over when we started working on this. Very commendable, nicely done.

Here's how you look on IE10, which is the standard I optimize to:

http://www.webpagetest.org/result/140522_BG_P3X/

You can still reduce load and increase speed by getting rid of the custom font files which load anyway, regardless of the fact that most browsers totally ignore these. It's 10% of your total page load that really does nothing for you.

This image displayed below is 14% smaller in file size than you are using, and there is NO visible decrease in quality:

[Image: ?di=V003]

You are right on the cusp of that magical 1MB figure for total page load... Good work!
Find all posts by this user
Quote this message in a reply
05-23-2014, 01:28 AM (This post was last modified: 05-23-2014 01:37 AM by Pierceb.)
Post: #19
RE: Cloudflare CDN not detected
Thanks Anton, I have just changed the image for the one you suggested!

I have tell the template not to use google fonts but it's own. Can you tell me where do you see I'm using google fonts and their weight? I guess if I can find them I also can eliminate them gladly.

This template was 2,65Mb at the beginning, it's such an amazing change in the good direction!
Find all posts by this user
Quote this message in a reply
05-23-2014, 01:41 AM
Post: #20
RE: Cloudflare CDN not detected
The fonts, images, 1MB of the page, etc have absolutely nothing to do with the first byte time. Yes, they are critical for the overall performance but the first byte time is the php code in opencart executing and building up the HTML that it is going to send to the browser. Most of the other content can load in parallel and basically competes for bandwidth but the browser can't do anything until it gets the HTML so the TTFB is 100% blocking.

Depends on what your goals are but 1.8s is really slow. Most "fast" sites actually load the full page in that amount of time and have first byte times in the 200-300ms range. There's still other things that can be done to make the front-end faster but the floor on your performance is going to be the server time for the TTFB.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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