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
-
Photos or Video Best for Landing Pages?
My real estate brokerage firm is promoting a listing via advertising on LinkedIn. The advertising links to a landing page: http://www.nyc-officespace-leader.com/MidtownLawOfficeSublet3300SFBelowMarket Rather than photos, the landing page has a 1 minute video. So far we have had about 10 visits to the page. Visitors leave the landing page after a few seconds. So they are not looking at the video. Would it be better to replace the video with photos? Or is engagement generally better with video? My thinking is that business owners may not have the patience or the time for a video and they would more likely have the time and willingness to click on photos. I would be willing to test this further, but at $5/click it could get costly! Any thoughts?
Conversion Rate Optimization | | Kingalan1
Thanks,
Alan Rosinsky1 -
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 -
Too many pages or not enough?
I have an SEO question for you: My client is building a new website and wondered about individual pages for his items, let me break it down for you... He sells display cabinets, one of which is a shot glass cabinet. He has 5 types of the shot glass cabinets, that come in 3 different types of wood, 2 different mirrored backings, and with or without a locking mechanism... Now is it better, SEO-wise, to create 5 pages for his shot glasses, with the selectable options, or is it better to create a different page for each of his shot glass cabinet options? This would mean something like 24 different shot glass pages. He feels that the more pages he has, the more lines he's throwing out there looking for a bite, but he, and I, don't know if that is necessarily a good thing for SEO. The pages would be named slightly differently, but the copy on each page would read just about the same... What do you think? 5 pages with options, or 24 pages again with the ability to change the options. Side Question: If more pages is the way to go, what would be the draw back when he does this with his other 8 cabinet types and their multitude of configurations? Thanks for the help!
Conversion Rate Optimization | | robertsteck0 -
Better Conversions with Java Script Pop Up Form or with Independent Page (URL)?
Greetings MOZ Community? I manage a commercial real estate site (www.nyc-officespace-leader.com). Visitors view listings (for example:http://www.nyc-officespace-leader.com/listings/303-broadway-building-office-sublet-11189sf). If they want more details they click on the "Interested In This Space, Contact a Broker" button. They get directed to a contact us form like: http://www.nyc-officespace-leader.com/contact-us?from_listing=303-broadway-building-office-sublet-11189sf We are redesigning this form. Remove much of the text and allowing the visitor to check questions pertaining to the property, like "Schedule a Tour", "Get Floorplans", "Details on Similar Space'. Currently this conversion form is on its own URL, and as such has menus on top, which I am concerned could distract the visitor. Would we get better conversions if this form was a Java script pop up with no menus. That way there would be no distraction for the visitor and we would have a better chance of converting them. Any thoughts? Also, we are using Google Tag Manager and Google Analytics to track conversions. Would changing to a Java Script pop up form have any implications for tracking? Thanks everyone!!! Alan
Conversion Rate Optimization | | Kingalan10 -
Is checkout page setup (in regards to abandonment) this sensitive?!?!
About a week ago, I added a google checkout button (which wasn't really positioned well) & option to add a note on my checkout page for my site. Over the next three days, my cart abandonment was 100%!!!!! 16 customers got to checkout, but all of them dropped out... I was starting to freak out and finally took the google button & note option down. Since then, I'm back up to about 50% abandonment. Is the ecosystem of a checkout page really this sensitive? If so, holy S#$%! Just wondering if anyone has any general advice or links for me to study up on checkout abandonment. Maybe we can get a Whiteboard Friday discussing this?
Conversion Rate Optimization | | PedroAndJobu0 -
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 -
Improving data tables for Usability & SEO
I have some large html data tables that look horrible (see bottom of http://www.jwsuretybonds.com/surety-bonds/commercial-bonds/auto_dealer_bond.htm). To my surprise, heat map tests actually proved them to be useful in improving our conversion rates to get visitors to apply for the bond they need. We are looking at ways to better the user experience while still keeping the data visible to search spiders. One idea was to use a dropdown list to filter by states. With new web technologies, there must be a better way to utilize this data. What are some alternatives?
Conversion Rate Optimization | | TheDude0 -
Duplicating Product Titles in the Page-Content
I have been debating this with a few others within my office and we would like an outside opinion on this issue. This screenshot is of a new product grid I have been designing. I have decided to try something new for SEO that I have seen elsewhere. (see attached image) The page-content below the last products on the page, now have a small paragraph that contains all the products "titles" that are visible on the page. The intention is to capitalize on multiple search terms by using modifiers to replace special character sets within the title. For example: 46" 3 Seat Perforated Square Picnic Table = 46 Inch 3 Seat Perforated Square Picnic Table Not only does this give a secondary search term that could convert but increases the number if instances of "Table" within the page. Suggestions or Thoughts? Thanks! GviGn.jpg
Conversion Rate Optimization | | Highland0