Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

3 Tips to Avoid the Website Speed Trap

DZone's Guide to

3 Tips to Avoid the Website Speed Trap

There are smarter ways to increase site speed than dumping everything. Take into account these guiding principles when optimizing your website for faster load times.

· Performance Zone
Free Resource

Transform incident management with machine learning and analytics to help you maintain optimal performance and availability while keeping pace with the growing demands of digital business with this eBook, brought to you in partnership with BMC.

“We need to go faster!  Dump all extra weight — I don’t care what it is. We won’t miss it if we’re dead!”

You know the movie scene. Our heroes are being chased, the bad guys are rapidly gaining. Everything not bolted down gets dumped — luggage, food, fuel, etc. Our heroes escape to live another day, only to realize they tossed something essential, dooming them to an even more desperate situation.

A recent Internet Retailer article, Follett and Dell Move Into the Top 10 Fastest Desktop Sites, calls to mind this scene. It recognizes Follett Corp.’s great achievement in speeding up their eCommerce website’s home page. But what’s lost behind the headline is the sacrifice required to get there. According to the article, Follett “cut its number of hosts, items, and overall page size, plus made changes to redirects, images, and scripts” in order to hit top speed.    

In other words, they dumped everything.  

It inspires the question: when is faster not better? We all know that without speed, an eCommerce business is dead. Research backs this up, showing that after three seconds of waiting for a page to load, more than 50% of visitors will leave the site. And then conversion rates begin to plummet. But if the push for speed causes you to remove the calls, images, and third-party services that create your great customer experience, you could actually lose customers. Higher speed with lower conversion? Tough one to explain to the board of directors.  

There are smarter ways to increase website speed. Take into account the following guiding principles when optimizing your website for faster load times.

1. Third-Party Services are Awesome

Third-party JavaScript is often cited for dragging down page load times — yet best-in-class, third-party services are critical to delivering a differentiated, innovative customer experience. And frankly, marketing teams love them. Don’t destroy the long term value of your website in an effort to reach short-term performance goals. Bring it back to conversion. Will the immediate improvement from speed be negated by a long-term reduction in conversion and retention because your experience isn’t as compelling? The best case is to seek out acceleration techniques that don’t require cutting these services.  

2. Speed Done Can Be Undone

Even if you eliminate a number of hosts and reduce page size, these changes can be short lived. Marketing teams are becoming more reliant on third-party JavaScript every day and will continue to make changes and insert tags into the site. And every change reduces the effectiveness of past optimization efforts. If you are going to live in this new eCommerce era, make sure you adopt an automated, programmatic approach to optimizing your website — an approach that won’t break and slow everything down again when a new tag or version of the site is launched.

3. Timing Is Everything

You don’t have to cut every piece of custom JavaScript or large image on your site to make it faster.  Instead, prioritize your features and sequence which ones load first. Determine the components that a customer must see immediately to begin interacting with the page (and not leave), and make those load first. Then prioritize all subsequent features accordingly, presenting first the ones that engage the customer and have the greatest influence on their shopping experience.  

4. Speed and Experience Can Coexist

Follett has a beautiful home page, and might not have sacrificed anything to get so fast. But for many others, the easy way to speed up the eCommerce website is to cut services and features on every page. This is a knee-jerk reaction that could jeopardize your conversion rates and isn’t necessary. Next-generation acceleration technologies (like Yottaa) enable eCommerce websites to automatically sequence their website content to deliver faster page load times while preserving the third-party services your customers and marketing teams love.  

So if you are being chased by higher website performance standards, don’t throw anything off the ship just yet. Instead, throw on some afterburners with the right eCommerce acceleration technology that will win that race without sacrificing a thing.  

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.

Topics:
web performance ,performance ,speed ,optimization

Published at DZone with permission of Tedd Rodman, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}