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
-
Adwords Remarketing Advice - Low Traffic Pages
Moz, I am just looking for a little advice if anyone has any experience with Google Adwords and remarketing in particular, I am currently looking through the Adwords help pages to gain a better understanding of how Adwords remarketing works, from what i gather this can be a really useful resource to use in certain industries and i have a lot of ideas and scenarios where i think this could work really well, I am just trying to get a good understanding of the how remarketing lists are built up, Using Rule based targeting for visitors that have visited a specific page that gains roughly 1200 unique visits every 60 days, so i have set the membership duration to 60 days, So if i use the visit of this page as a rule for my list, then in a little less than 60 days time then my custom ads should start appearing to these previous visitors ? My Question Am a right in thinking the remarketing list is like a funnel, once 1000 visitors are added to this list/funnel then my ads will start showing, but then as those visitors in the funnel have reached the 61st Day they will be removed, and replaced with the new visitors being added to the list for that day ? Aslong as my list remains above 1000 visitors it will continue to show, but if i were to drop below 1000 visits within that 60 days my ads would not be visible ? so i would need to potentially extend the membership period if this happens ? Apologies as i really struggled to explain this question as best as i can 🙂 Hope someone can drop me a quick comment and straighten this out to ensure that i am on the right track and i am understanding this correctly 🙂 Thanks a lot James
Conversion Rate Optimization | | Antony_Towle0 -
Landing Pages
My question is with regards to my Adwords campaign. Is it best practice to have the user, or potential customers, land on a single page landing page or to an actual website? Does a single page landing page, with no other links, help with conversion? i would be greatful for any opionion.
Conversion Rate Optimization | | RobSchofield0 -
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 -
Google Analytics e-commerce tracking on multiple pages
Hi, I work in the airline industry and we are trying to implement Google analytics on our site. We are at the stage of getting e-commerce tracking setup. The problem we face is that we have multiple receipt pages (booking confirmation pages in our case) instead of just one as most carts would have. These are completely independent of each other. My question is can I use the same e-commerce tracking code on each page or do I need to setup multiple trackers. I reviewed the documentation here: https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce#multitracker however I'm unsure if multiple trackers are needed when using it on multiple pages or is this just for multiple trackers on the same booking confirmation page. any help on this would be greatly appreciated
Conversion Rate Optimization | | aerlingus0 -
Page Speed & SERPS
What impact does page speed have on rankings in the search engine? If I have a Site that is heavy with Pictures, Onsite videos and various scripts that would ultimately be of good use to a viewer but takes time to load. VS A Site that has pictures that are fully optimized for the web or eliminated to save on load time, Videos that are hosted on Sites like VIMEO or You Tube and eliminate scripts where possible and use css3. Note the site loads faster and is better for mobil but doesn't have the same feel of the first site but is useful to the user. Now let's say that both sites are virtual twins in terms of their link profile, age, content quality, location and citations. Will one rank better because of load time? It's the quest for creating the ultimate site for users while delivering it within the fastest time possible.
Conversion Rate Optimization | | bronxpad0 -
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 -
Proper Landing Pages for PPC ads
One of our sites is for a local Promotional Products company that focuses on local big businesses to set up accounts with. We are trying to grow our customer base with this site through use of a PPC campaign, but are unsure of where to send them. We were thinking about a page with content about what we do and our contact information, or putting together videos with this information to send them to. Does anyone have any advice for a killer landing page that not only is good for getting conversions for promotional products through PPC, but also could get us organic traffic? Thanks in advance for the help!
Conversion Rate Optimization | | ClaytonKendall0 -
Contact page lead optimization
Hi, I have a client whose contact page is the second most visited after the home page. However, there is a 93.65% abandonment rate on the contact page. This could be for a number of reasons: There is a phone number on the page, so people may call the firm There is a Google Map on the page, so people may get directions The top next pages are: Exiting the site (about 50%) Returning to the home page Going to the About the Company page Going to the Distributors page (the company is a manufacturer) What is the best way to analyze the performance of this page? Thanks, Josh
Conversion Rate Optimization | | joshfialkoff-778630