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
-
What kind of home page need to be, to show good results of SEO?
Hello, i have couple questions about new home page building. I want to start build new home page to replace old one. At this moment my home page is obsolete and shows low conversion. My costumers often have negative thoughts about existing one. My knowledges in coding is weak, where should i pay more attention to design, to section placement, to pictures and video gallery? Can hosting positively or negatively affect to SEO results? How to make the new website load faster? Here's my website's example. http://www.skydas.lv http://www.m-lux.lv http://www.sosdienests.lv Thank you very much, waiting for replay.
Conversion Rate Optimization | | Felter0 -
Tracking a Deposit Page Through Google Analytics: Which is a better way?
Good day to all, I do have game download website (Works like Google Play and Steam) and currently working on the deposit page which is payable by fund transfer and Paypal. The thing is I do not have a confirmation page that I can use to track all incoming successful and unsuccessful conversions for this deposit page. My question is, which is better to use for this kind of tracking a goal in Google Analytics? Are we going to use a virtual page or and event tracking method? How can I track users that visit the deposit page that weren't able to do a deposit attempt? Thanks for answering this question. Have a good day ahead.
Conversion Rate Optimization | | Francis.Magos0 -
Any General feedback or Experience on Page Titles and Click Through Rates ?
Moz, I have managed to climb onto page one for a couple of keywords i am really happy with, Just looking for any feedback on page titles and different effects on CTR The page i am working with is product pages I tried a simple headline which was a branded product keyword, this way when the keyword matches the user search it will stand out as the the majority of the title is bold because of this match,, Example below <title>Jeffs<strong> Lollipops</strong></title> and my other option is to look at testing a more descriptive title to fit the limit <title>A selection of sweet Strawberry and Cherry<strong> Lollipops</strong> from Jeff<//Title></p> <p>has anyone looked into this and tested for results in CTR ? i can see there being a youmoz about it somewhere?</p> <p>Alot of people i assume will just say test test test, but any feedback on how other moz users tackle title tags for CTR would be great,</p> <p>Thanks</p> <p>James</p> <p> </p> <p> </p></title>
Conversion Rate Optimization | | Antony_Towle0 -
Magento Plugin that speeds up loading time - Too good to be true??
Hi everyone, Has anyone ever used this plugin http://templates-master.com/magento-page-cache-extension.html? I am looking for solution for my Magento websites. They all seem to be a bit slow no matter what web host I use. Thanks Carla
Conversion Rate Optimization | | Carla_Dawson0 -
Page URL - Hyphens or Underscores?
What's better for SEO and why? (any references would be greatly appreciated) For the purpose of a URL of a page is it better to use: Hyphens Underscores Would hyphens or underscores be better for Google Adwords?
Conversion Rate Optimization | | HMCOE0 -
Rel="author" On Normal Pages
Hello, I know you can add rel="author" to blog posts but has anyone tried adding them to normal pages? Does it work? Does it improve CTR? Thanks, Scott
Conversion Rate Optimization | | ScottBaxterWW0 -
How can I improve my Adsense CTR / CPC?
Here's one page where my Ads' setup can be seen: http://www.gameseducativos.com/guarda-do-zoologico/quebra-cabecas
Conversion Rate Optimization | | rpedri0 -
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