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
-
Is anyone aware of stats stating how many people abandon pages the deeper they get in a site?
For example, let's say someone enters via a landing page, and instead of having a form there is a button to a form. What percentage of people will click the button and fill out the form vs if the form was right there on the page? Basically, I am trying to figure out what percentage of users do websites lose for every click a user makes on the site.
Conversion Rate Optimization | | Firestarter-SEO0 -
How to track full path of website visitors until conversion, not just landing page?
hi, This is my first question in the forums and I'm looking forward to be part of a great SEO community. I was wondering ow to track full path of website visitors until conversion, not just landing page? I've been using Wordpress jetpack site stats for while, which shows great data like keywords used in google, landing page etc. But I would like to have access to the full path for each separate visitors (including their IP address and country is possible) to improve my website and conversions. Example: step 1: Visitor X types "seo" on Google step 2: visitor lands on my homepage step 3: visitor visits to order page and buys Is there such tool available as a Wordpress plugin? Or do I have to use Google analytics for this? thank you for your help, Marc
Conversion Rate Optimization | | marcandre0 -
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 -
Does the word next to domain gives more relevancy to the page of it's URL?
Whether putting a (category or brand) word next to domain is better than on the end of an URL? (i.e. domain.com/sony/tvs or domain.com/tv/sony) Which one would get higher result on SERP "tv" or "sony" in both cases? Or maybe they both serves the same?
Conversion Rate Optimization | | komeksimas0 -
SEO For Personalized Content Pages
Hi, We are building a site that has content that personalizes based each visitor. This is being done to serve the most relevant content for conversion purposes and NOT for SEO purposes. So, there are many diferent versions of each page based on the visitor's location, device, browser, keyword-used, traffic source, etc. Obviously, we don't want this to appear like cloaking (it is genuine content personalization) and wondered how Google would view this? What is the safeguard for protecting the website from potential penalties? Any help would be greatly appreciated! Thanks in advance.
Conversion Rate Optimization | | Clickthroo0 -
What's the best thing to put in the footer on a PPC landing page?
From a conversion perspective what are the best elements to have in the footer of a Paid landing page.
Conversion Rate Optimization | | SirSud0 -
Any SEO tips for optimizing / driving traffic to category pages?
Hello! I listened to Adam Audette at Linklove in Boston this month and he spoke a little on creatively linking product pages back to their respective category pages - as it had an effect on the SEO... However, I don't know much about "internal" linking... Any other SEO tips for optimizing / driving traffic to category pages? Thanks!
Conversion Rate Optimization | | BGroup0 -
Improving Bounce rate, Time on Site & Pageviews per visit
Based on what seems like a general agreement that the Panda update has modified Google's algorithm and on page metrics such as Bounce rate, Time on Site & Page views per visit are now vital to a websites rankings. What methods are you using to improve these metrics? Have they worked?
Conversion Rate Optimization | | donthe0