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 -
Any possibility to track goal completions/conversions at a sub-page (non-landing page) level in Google Analytics?
We’re promoting our sub-page it's http://www.flightcentre.ca/flights/london on our homepage under the slideshow so I need to see how many people went to the homepage, then went to this page, and then converted (enquired or booked.) What I can’t see is how many people did that. I know how to look up how many people landed on that page and then converted, but I need to know how many people navigated there and then converted. Is that possible? I can only see Goal Completions if I look at that page as a landing page, but that only presents a very slim view of the total visits when compared to those pages generally. Any way to check the entire behavior or activities happening through this page i.e. /flights/london?
Conversion Rate Optimization | | flightcentre200 -
Suggestions to Improve Worst Conversion Form Ever Designed?
My commercial real estate web site has about the worst conversion form ever designed (http://www.nyc-officespace-leader.com/visitor-details). The form appears whenever a visitor does a property search. If they do not release their phone number and email address they don't get results. The form only gets completed 25% of the time and often the contact details are wrong. The visitors either exit the site at that page or go to the listing or neighborhood pages to view listings without doing a filtered search. In an attempt to increase conversions we are softening the form and not making completion mandatory. After entering an inquiry the visitor will be shown three property listings before the form pops up, The idea being that once they have seen product they will be more inclined to release contact info. Also, the form will appear once they have viewed three listings anywhere on the site, not just for search results. Unlike the existing conversion form (http://www.nyc-officespace-leader.com/visitor-details) we are trying to keep the text very concise. The new form will be Java script rather than a URL. Can anyone offer some ideas on how to make the text of these new forms more enticing? The forms are listed below. We will probably show the first one after the visitor views 3 listings and the variation of it after the visitor views another 3 listings. ** FORM #1** Quit wasting time searching for listings. (watch icon) Call me to discuss available space. Yes No --------------------------------------------------------------------------------------------------------- FORM #2 Don’t search for listings, we will do it for you. We have off market listings that no one knows about. Contact us now about off market listings. Yes No ----------------------------------------------------------------------------------------------------------- Thanks, Alan
Conversion Rate Optimization | | Kingalan11 -
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 -
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 -
How To Rank Landing Pages In The SERPs
Hi, am hoping someone can give me a little advice.. We have created an Ebook for a client, which we will ‘hide’ behind a landing page for the purpose of collecting email addresses in return for a link to the Ebook. We are thinking of using Unbounce landing pages, integrated with Mailchimp. The problem however is that I’m assuming it will not be possible for Unbounce landing pages to rank well in the SERPs.. which is essential. The obvious solution would be to write a blog post detailing the contents of the Ebook, and then to ‘SEO’ this post.. this however will not provide a positive user experience as below; Visitor lands on blog post Visitor then has to click through to Ubounce landing page (very similar content) Visitor completes form to download Ebook My question is; What’s the best way to rank a direct landing page in the SERP’s, whilst providing the best possible user experience (less steps)? Many thanks in advance, your time is appreciated 🙂 Lee.
Conversion Rate Optimization | | Webpresence0 -
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 -
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