How to improve Time to First Byte? Page Load Speed
-
I am working with a ecommerce site that is having major issues with their load speed. The ttfb is...wait for it...7911 ms.
I am not even sure where to start with this issue. If you have any recommendations, it would be appreciated.
Is it the clients servers that are slow? They have went through multiple redesigns and have some code that could probably be deleted but I don't think it would make it that slow.
-
Hi Ian
These are all good suggestions. Accidentally (SSL excluded) these are all covered by modern CDNs, which do much more than just proxy.-
Memory vs. disk caching: Memory is faster
CDNs will cache from memory by providing free/low-cost access to very large pool of resource, which most website owners couldn't utilize otherwise. (each proxy location will have ~10 high-powered servers that allocate memory for caching)
-
Server configuration: Is your database on the same server as your web server? That's a problem, if true.
This is a core CDN capability. The cached web content is served from proxy while database complies in the background and serves the rest of the materials.
-
Database caching: Is your e-commerce system using it? The first hit on the database is a huge hit on performance.
This is a great suggestion and - unlike other points - this is not a default CDN feature. However, this problem can be solved by intelligent caching heuristic. What I mean is that by monitoring resource usage over large pool of visitors an intelligent CDN system can identify dynamically generated objects which are not often changed, yet still un-cached due to their dynamic "origin".
Pinpointing such objects and caching them in the way that ensures personalization and freshness will reduce the impact of database processing. For example, typical e-commerce site and will dynamically generate the product list from DB when in fact most products specifics (the image, the text, the pricing, etc) will not change over the product life-cycle. For all states and purposes these are static resources, yet they are being generated dynamically, for the lack of the better option...
If you CDN can identify such instances and move in to cache these parameters, you will benefit from 30-50% improvement, on top of the usual 30-40% CDN factor.
What I`m describing here is not future-tech but a patent-pending algorithms which are already used by the industry. You can find out more here:http://www.incapsula.com/the-incapsula-blog/item/414-advanced-caching-dynamic-through-learning
-
-
True TTFB is improved by changes to your basic server configuration, not a CDN. A CDN will improve delivery of static and cached files, but may not impact TTFB the way you need it to.
My gut tells me you need to look at:
- Database caching: Is your e-commerce system using it? The first hit on the database is a huge hit on performance.
- Memory vs. disk caching: Memory is faster
- SSL versus non-SSL for non-secure pages. SSL will slow performance and should only be used where security is an issue, like during checkout or on login pages.
- Server configuration: Is your database on the same server as your web server? That's a problem, if true.
-
Generally speaking, the best answer is to use a CDN.
CNDs proxy technology, which was designed to minimize "physical" distances between the site's content and browsers, directly influences TTFB. Being an in-house SEO for a CDN company I get a lot of questions about this from our support and clients. I have to admit, until recent Moz post, I wasn't aware of full implications of TTFB and considered it to be one of few page load speed related metrics. (http://moz.com/blog/how-website-speed-actually-impacts-search-ranking)This post really helped me get a better grasp on things. Interestingly enough, few month ago one of our clients Guest Posted in our blog about speed improvement gained by our free plan. Among other things, he mentioned 70% improvement in TTFB (grade going from F to A)
(http://www.incapsula.com/the-incapsula-blog/item/718-what-incapsula-free-did-for-my-site)At the time I didn't give it much attention. Because, like many others, I was focusing on overall load speeds....
I can't help but feel that this was a missed opportunity. This post could be even better with the added SEO angle...
If anyone here is interested in giving this a try and guest posting about it, I`ll be happy to provide all resources needed on our end. -
I guess by just looking at the IP, it's in Atlanta. I changed the settings on the page load tools to various places across the US so this shouldn't be a factor should it?
-
I thoroughly enjoyed your response Harald. I never would have considered switching from Amazon S3 to Amazon Cloud Space. The improved performance you experienced is amazing.
-
Hi Lhawk, First of all I advice you to look at below link for proper understanding of the Time to First Byte.
Time to first byte (TTFB)
I hope that above content helps you to understand the TTFB.
Now its time to reduce the TTFB which is most important for a web page because it overall reduces the loading time & helps to load page faster & overall website performance is increased.
For more details see the 12 steps to faster web pages.
I hope tat your query had been solved.
editor's note: source for this answer at http://www.creativedevelopment.com.au/web-design/reducing-time-to-first-byte-ttfb/
-
Where are the servers relative to your access point?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Overlay / modal for product pages - bad or good for SEO?
Hi all, I am considering using full overlays/modals for an e-commerce site for all our product pages (category/listing pages will be "normal", the product page will come over the listing page as an overlay/modal when you click on the product). Those “product overlays” will also be accessible directly with own URL (if need to be linked to for ex.). All the literature I find out there treats overlays and modals as “marketing” ones (ads, sign-ups, etc.) and is generally critical to overlays when it comes to SEO, while also saying that an overlay that has to do with good UX should not hurt the SEO of our site. What do you think? Will all product pages as overlays be considered as good UX by the search engines and therefore not be negatively impacted, SEO speaking? Or should we stay clear of overlays and create “normal” product pages? Thanks in advance! Arnaud NB: The reason we want to create those overlays are for design and UX purposes, and try to increase our conversion rate.
Conversion Rate Optimization | | Arnaud_Fo0 -
Is there a sweet spot for compressing images for load speed?
i am looking to improve the load speed on my site (it's very poor at the moment) but I am trying to figure out how much I should compress the images on my page by. Is there a sweet spot between making the images as small as possible without losing image quality. I know that this might differ depending on a number of factors by any advice would be very helpful. Thanks
Conversion Rate Optimization | | cbarron2 -
Should I link from an optimised product image to the product page from a blog post?
If I am writing a blog post about a product, or a number of products, and I'm including optimised images of the product, should I link from the images to the product page in the shop? Usually I remove links from images as they lead visitors to a simple image page but could it be worth linking from an optimised image to a product? Thanks in advance.
Conversion Rate Optimization | | the_wildman0 -
Help with ecommerce duplicate pages and SEO advice(magento base site)
Hi, We have a magento build site (www.mokee.eu) and are selling our own branded goods. So far it is a very limited range of products. It's 1 baby crib in 5 variations. We recently started getting more sales from the site, so I started to look a bit more into optimising our site. I rewrote item name, created better descriptions, added meta titles and description etc. and subscribed to the MOZ analytics platform to understand a bit better ways to improve things up. From what I saw we have a big issue of duplicated content because our product pages are the same and only the product colour changes, which is something google apparently doesn't like However it is important for us that each colour get referenced by google so people who search for grey cot can find a picture of our grey cot etc... Also I was thinking to create only on multi variation page with all colour but when you have only 1 product to sell it might look a bit empty on the site. 1- Do you guys have some advise on how to go round this issue? 2- Do you have any other advise for my site in particular to optimise things and actually do you think i should be worried at all with such a small catalogue? Thanks Sam
Conversion Rate Optimization | | mokeestore0 -
Rich Snippets on service pages and how to aggregate?
Question about rich snippets.. I want to showcase reviews of the SERVICE's offered but I am not sure if I should include them on the service page, a review page or both. For example, we offer snow plowing and lawn care services and each service has its own page. I have reviews for both services under the my "testimonials" page. So, a couple questions. 1 - Should I pace a single review marked up on each service page? 2 - Does the review need to be a google review or can I use reviews from other sites? If not, do I need to notate that somehow using the schema vocabulary? Example, I have a 5 star review from thumbtrackDOTcom, is it ok to mark up the review and include a nofollow link? (No follow because thumbtrack is actually a competitor.) 3 - When I looked into creating an aggregate rich snippet I got confused / concerned. Is it ok to list multiple services as a product? Example: <div< span="">itemscope itemtype="http://schema.org/Product"> <span< span="">itemprop="name">Lawn Care and Snow Removal</span<> <div< span="">itemprop="aggregateRating" itemscopeitemtype="http://schema.org/AggregateRating">
Conversion Rate Optimization | | dwallner
Rated <span< span=""> itemprop="ratingValue">4.5</span<>/5
based on <span< span=""> itemprop="reviewCount">4</span<> customer reviews</div></div<></div<> 4 - When I tested the code above, no stars showed up in the preview. Do I need to mark up products as well? Am I doing it completely wrong 🙂 Thanks for any advice!!0 -
Time spent downloading a page increased drasticly
Hi Guys, We have found increased "Time spend downloading a page" drastically. Our website: www.learnenglishindublin.com Our company is located in Ireland, so we moved our servers from US to Ireland at the beginning of December. Also before increasing 'Time spend downloading a page" I did: I have installed plugins JCH Optimize (plugin is optimizing CSS and Javascripts [merging them]) I have installed ScriptsDown - which is moving all scripts to bottom of site. Pingdom tools shows that site is loading average of 2.7 secs. Pages are cached. Gzip is used. Our SEO rankings dropped from 1 page to 2 page. We have gone up in Google Maps search. Image sizes are about 1.7MB Any idea how things have actually gotten worse after this “improvement”? Thanks, Olivia increased.jpg
Conversion Rate Optimization | | Olivia_led0 -
Landing Page for High Ticket Items
Hi Everyone 🙂 We are an auto dealership and our website is designed to capture leads. I'm looking into designing some landing pages and I understand that we should test anything we try, but I don't really know where to start. Basically, we want to capture name, email, and phone # on our page. What sort of incentive should I offer people to provide us with their information? Typically, auto dealers offer up a "Free Quote" incentive. I'm wondering if anyone else has an idea for something else to try. Thanks!
Conversion Rate Optimization | | kylesuss0 -
Ideal product page conversion/retention rate for eCommerce sites
Hi SEOmoz-ers, I was wondering if anyone has data regarding product page abandonment rate (% of potential customers that leave the site after seeing product pages) for websites like Overstock, REI or Zappos? As you may know the above mentioned sites do an exceptional job with product pages. It would be helpful to know what some of the leaders in this space are achieving in terms of conversion rate. What is your personal opinion about this? Thanks,
Conversion Rate Optimization | | Kush_VMI
Kush0