How To Speed Up Website Load Time

How To Speed Up Website Load Time

load-faster

There are few things I hate more than a slow website – especially when it’s my own website. Yes, I’ll admit it: as it currently stands, our website is slow. Even though we have all the expertise to build fast websites, we need to invest some more time into making our own website a lot faster.

On average, pages in your site take 5.7 seconds to load (updated on Nov 21, 2011). This is slower than 80% of sites.

Our Site Performance according to Google Webmaster Tools

Google Analytics isn’t reporting much better. In fact, much worse:

It appears that over 70% of our home page visitors are seeing a page load time that is more than 3 seconds and that our average page load time (on the home page) is 10.6 seconds. I’m going to focus on the home page of our website for the purposes of this post.

Our Website Speed According to Google Analytics

That is just terrible. No one should ever have to wait that long to load a page. I sure wouldn’t.

Let’s see why this might be. We performed speed optimization about a year ago, but since then have launched new features, updated designs and added CMS functionality. My suspicion is that code has gotten less efficient in the meantime.

Speed Optimization Tools

I started by using a bunch of page load testing tools to diagnose our speed issues. Below are the ones I find useful. Comment below if you have any other great ones. Keep in mind that these tools don’t give you a full picture – they just show you what is wrong with the front-end your website. I will go into more detail regarding server and database optimization further down.

Google Page Speed

In Firefox, you can download Page Speed as an add-on to Firebug. In Chrome, it’s still experimental, so you’ll need to enter “about:flags” in your address bar, enable Experimental Extension APIs, relaunch the browser, then install the extension. Here is a help article on that. Or you can use the online version of the browser extension here. There’s even an Apache 2.x Page Speed module for those who configure their hosting.

What Page Speed looks like when installed in Chrome:

 

YSlow!

YSlow is another Firefox add-on that works with Firebug, this time by Yahoo!

GTMetrix.com

GT Metrix combines these two tools into an easy-to-use online format, with comparison abilities. It will also give download time information.

GTMetrix.com Comparing multiple page load times.

WebPageTest.org 

Web Page Test is pretty much just all around performance testing awesomeness. The fact that a free tool can provide such information is amazing. Thank Patrick Meenan  (now at Google) for this great piece of work.

Diagnosis

Then I put the tools to use and here is what I found out about our website.

Google Page Speed:

Page Speed Website Test Result

Not bad, right? 95 out of 100. As I said, it only tells part of the story.

YSlow gave me a similar result:

YSlow Page Speed Test Results

WebPageTest.org, tested from New York, with a 1.5Mb connection, on IE8, gave me the following results:

 

It took a full 12.7 seconds to load our home page, with 1 second of delay to even begin downloading the page and 1.8 seconds to start rendering.

Here is a video of how our home page loads with the above parameters (1.5 Mb connection in New York). It’s pretty bad.

Conclusions So Far

Here are a few preliminary conclusions I have come to based on my initial research.

  • The wait time to start rendering the page is extremely slow (almost 2 seconds just to start seeing something!). There is a need to look deeper at our database configuration to see if queries are optimized and if caching is being used to speed up performance.
  • There are too many connections being opened simultaneously from the same host. One solution is to split content across multiple hosts, but in this case it can be more easily done by using sprites. We are making just under 100 requests to our host, www.bluefountainmedia.com and most of them are images that can be grouped together into sprites, thus reducing the number of requests.
  • Images being requested should have their height and width specified before making the request.
  • Images need to be better compressed without losing quality. Many of them are not as small a file as they could be.

I ran this page through webpagetest.org and got a load time of 10.3 seconds with 74 requests. Here’s what that looked like:

All home page images without sprites speed test water fall

Using Sprites

Then I created a version that uses sprites. I combined many of the images in a logical fashion then modified the html to pull the sprites rather than the individual images. This reduced requests down to 30 and page load time went down to 8.4 seconds. I noticed that there was more that could be done with the ordering of images to increase efficiency. Here’s what this version looked like:

Page with sprites on it page speed test waterfall

Ordering of Sprites

Using the waterfall view of the page as a guide, while keeping in mind that it’s important to load content above the fold in a graceful manner, I re-ordered the sprites and split one into two. The result was a load time of 7.85 seconds.

Waterfall of page load time using sprites

From here, there were 3 options moving forward:

  • Move some images to another host so that they can be downloaded concurrently to other images.
  • Change image types from PNG-24 to JPEG on some of the larger images and take some measures to reduce file sizes on images.
  • Get rid of the images that take a long time to load and that were not visible on-load. Theoretically could use something like Ajax to call those images when need be rather than using Jquery, which is what is currently in place.

Move some images to another host

I tried this out using a dev server and the outcome was in fact an increase in load time (8.42 seconds). This requires further experimenting on a server that is optimized for this purpose. It looks like resources start downloading earlier thanks to the additional server, but perhaps due to bandwidth are causing everything to download slower, therefore not helping in reducing the overall load time for a user with a 1.5 Mb connection. I believe that a second host would come in handy when you are optimizing for most users who would have a much higher speed connection.

Page speed testing with a second host

Change image file types and reduce size

I changed many of the larger images from PNG-24 to JPG and cut down the size of the PNG’s that did not qualify to be changed for design reasons. This time, page load time went down to 3.8 seconds. That’s more like it!

Page load time with images compressed

Reduce number of images

Getting rid of unessential images resulted, as can be expected, a major drop in load time. It went down to 2.15 seconds.

Page Speed Test with smaller and fewer images

To be continued…

Based on this information, it appears that it may be possible to cut down our home page load time by close to 8 seconds for a user on a 1.5 Mb connection. I will continue this blog post after we implement a solution and will show what the outcome is in terms of performance and conversion rates. My plan is to build a replica of our home page, optimize it for speed, then see how it performs against our current home page.

 

40 Premium Bootstrap Themes & Templates

40 Premium Bootstrap Themes & Templates

By / Sep 8, 2014 / Resources
294shares

Over the last few years, the ability to rapidly create responsive web pages using Bootstrap has taken the development community by storm. Although other front-end frameworks like Foundation exist, Bootstrap has no doubt become the most popular.

With such a large following, it’s no surprise that many web designers and developers are using the framework to create beautiful themes and templates. The growing demand is evidenced by communities like BootstrapBay, a niche marketplace for premium Bootstrap themes & templates.

The following gallery contains 40 high quality themes & templates for your next project. They cover a variety of categories including admin & dashboard themes, corporate & business themes, landing pages and portfolio templates. Enjoy.

Boom Admin – Dashboard Web App Template

boom admin - dashboard web app tamplate

Boom Admin is a full-featured versatile web app and dashboard template featuring Bootstrap 3.1, AngularJS and JSON data services. Boom Admin contains over 40 HTML template pages, 3 dashboard layouts and a plethora of components and widgets.

Dragonfly – Responsive Business Theme

dragonfly - responsive business theme

Dragonfly is a full-featured 22 page business theme built on Bootstrap 3.2. This modern theme is very easy to customize and uses PHP for basic functions like generating a header from one file on all pages.

Papel – Single Page Portfolio Theme

papel - single page portfolio theme

Papel is a modern one-page creative portfolio template built on Bootstrap 3.2. It’s the ideal template for web designers, graphic designers and creative professionals. The template is very clean and uses modern design techniques.

Flat Dream – Responsive Admin Template

flat dream - responsive admin template

Flat Dream is a fully responsive Bootstrap admin template with a stunning flat design. Flat Dream includes 10 preset color themes with customizable less files, a wide variety of modals with colors and effects, as well as great email pages and a beautiful inbox.

Start – Responsive One Page Template

Start - Responsive One Page Template

Start is a beautifully designed one page Bootstrap template. It’s perfect for any businesses or corporations looking to showcase a product or service.

Easy – One Page Template

easy - one page template

Easy is a very lightweight Bootstrap template due to the very minimal design and clean markup. There are 6 pre-configured color options, 2 different layouts and an additional coming soon page. The template also features a working contact form with validations.

Proctor – Admin & Frontend Template

proctor - admin & frontend template

Proctor is multi-page admin and front end Bootstrap theme that comes stocked with essential UI elements. Both themes follow the same design philosophy to maintain consistency and impact. The clean minimal design also enables users to focus effortlessly on the data.

Fullscreen – Responsive Template

Fullscreen - Responsive Template

FullScreen is a Bootstrap template that uses a parallax scroll with a slideshow background. The template comes in both plain and animated versions and will definitely catch your attention.

Writer – Modern Writing Platform

writer - modern writing platform

Writer is a responsive blog and writing theme with a focus on minimal design and typography. The theme was created using the latest HTML5 and CSS3 features, with responsive design that works great on any device. Sass files are included for you to easily continue development.

Flatter – Mobile First Flat Admin Theme

flatter-mobile-first-flat-admin-theme

Flatter is a mobile first Bootstrap admin theme, carefully coded from head to toe. The responsive charts scale beautifully to any size and it also comes with a well designed mail application.

VANTE5 – Multipurpose Bootstrap Template

VANTE5 - Multipurpose Bootstrap Template

VANTE5 is a multipurpose Bootstrap theme with over 35 HTML files. VANTE5 comes equipped with a content slider, 15 modern element shortcodes and tons of other features.

Srikandi – Responsive Admin Template

srikandi - responsive admin template

Srikandi is a unique Bootstrap admin theme that uses a top header navigation to set itself apart from other admin themes. It comes fully equipped with over 40 pages and tons of components and widgets.

Nogoli – Awesome Responsive Theme

nogoli - awesome responsive theme

Nogoli is an awesome Bootstrap theme that  combines the best of current trends with a clean, pixel-perfect minimal design.This theme is ideal for a business, corporation, startup or other type of organization.

eKoders – The Complete Admin Theme

eKoders - The Complete Admin Theme

eKoders Admin is a very light weight, fully featured and easy to use Admin theme. It’s built off Bootstrap 3.2 and includes most popular plugins and a fully attached front end template. The theme also comes equipped with 5 color styles and unlimited other possibilities using LESS.

Spice Shoppe – Bootstrap Shopping Cart

Spice Shoppe - Bootstrap Shopping Cart

Spice Shoppe is an e-commerce template built on Bootstrap 3.2. It is fully responsive in order to take advantage of the growing number of people shopping on mobile devices. The template features over 13 pages and comes with helpful documentation.

Heather – Bootstrap Landing Page

Heather - Bootstrap Landing Page

Heather is a Bootstrap template that comes with 2 different layouts in both animated and non-animated formats. The template includes a variety of different sections, PSD files and detailed documentation.

Arjuna – Responsive Admin Template

Arjuna - Responsive Admin Template

Arjuna is a fully responsive admin & dashboard theme built on Bootstrap 3.2. It has tons of features and ready-to-use UI elements, widgets, charts and pages.

Arillo – Responsive Real Estate Theme

Arillo - Responsive Real Estate Theme

Arillo is a responsive Bootstrap template intended to showcase real estate or properties. Arillo enables real estate agents or realtors to build their own brand while showcasing all of the properties they have for sale. The theme includes 10 pages and a variety of different features.

Kagum – Responsive Blog Template

Kagum - Responsive Blog Template

Kagum is a Bootstrap template that can be used for blogs, magazines, or personal web pages. The clean, modern template comes equipped with all the necessary pages to setup a beautiful blog.

Makers – Agency & Portfolio Template

Makers - Agency & Portfolio Template

Makers is a clean responsive theme for your agency, business and portfolio. The template features a parallax scroll design with blog page, pricing tables and portfolio pages.

Oceanica – Responsive Single Page Theme

Oceanica - Responsive Single Page Theme

Oceanica is a clean and professional Bootstrap template with a beautiful parallax scroll design. The theme is ideal for creative professionals, digital agencies, photographers and all other types of businesses with a portfolio.

Appion – Get More App Installs

Appion - Get More App Installs

Appion is a simple, minimal and responsive Bootstrap theme designed to showcase your app or product.  You can choose between three different variations depending on whether you want a static background, slideshow background or a video background.

PixyWEB – Responsive One Page Template

PixyWEB - Responsive One Page Template

PixyWEB is a 100% responsive one page Bootstrap template. The template is ideal for creative agencies, digital studios, personal freelancers and photographers.

Agenzio – One Page Responsive Theme

Agenzio - One Page Responsive Theme

Agenzio is a multipurpose and fully responsive Bootstrap template with 4 different color variations. The template features a filtered Ajax portfolio, a working contact form and swipe menu on mobile devices.

Marinka – Responsive CV Templates

Marinka - Responsive CV Template

Marinka is a fully responsive resume and CV template built off Bootstrap 3.2. This clean and beautiful template is perfect for showcasing your background and experience to potential employers or clients.

Crafto – One Page Responsive Template

Crafto - One Page Responsive Template

Crafto is a one page Bootstrap template perfect for freelancers and creative agencies. Crafto will catch your attention because of its clean deasin, CSS3 animations, and stunning parallax effects.

Awesome – Photography/Portfolio Template

Awesome - Photography_Portfolio Template

Awesome Photography/Portfolio template is the perfect Bootstrap template for photographers and other creative professionals with a visual portfolio. Creatively designed to present your artwork in the most clean and beautiful way.

Nakula – Responsive Portfolio Theme

Nakula - Responsive Portfolio Theme

Nakula is a simple and clean Bootstrap template suitable for any sort of portfolio. The template comes equipped with 2 different blog variations, login & register page, and a contact page.

microStore – OnePage ecommerce Theme

microStore - OnePage ecommerce Theme

microStore is the perfect Bootstrap template if you’re looking to sell 1-3 products. The theme comes equipped with everything needed to showcase your products and collect relevant contact information from your customers.

Uneaty – Responsive One Page Theme

Uneaty - Responsive One Page Theme

Uneaty is a lightweight and responsive Bootstrap theme with an easy to use two-level navigation menu on the side which converts to a neat drop down menu on smaller screens. The template uses full screen backgrounds and minimal custom CSS rules.

Flip Resume – Book Style Resume Theme

Flip Resume - Book Style Resume Theme

Flip Resume is a unique book style resume template built on Bootstrap 3.2. The template comes with 8 pre-set colors and also uses SASS to facilitate customization. Furthermore, all pages are divided into sections, all of which having their own identifier in order to easily add/remove/edit sections.

Wilford – Responsive Agency Template

Wilford - Responsive Agency Template

Wilford is a one page Bootstrap template for creative agencies and freelancers. The template is clean, fully responsive, easy to customize and handles corporate or personal projects very well.

MyxDashboard – Responsive Admin Template

MyxDashboard - Responsive Admin Template

MyxDashboard is a clean and elegant Bootstrap template suitable for any back-end application. It is intended to be a very lightweight and easy to use admin panel.

Xolo – Minimal Coming Soon Template

Xolo - Minimal Coming Soon Template

XOLO is a minimal coming soon Bootstrap template with a countdown timer and subscription form. This template is perfect for people looking to collect emails before the launch of a company or product. The template also features a beautiful popover to display additional company details.

Ophiuchus – Mobile App Landing Page

Ophiuchus - Mobile App Landing Page

Ophiuchus is an interactive and modern landing page template for your mobile application. The template comes with 4 different variations depending on your design preferences.

SimpleApp – App Landing Page

SimpleApp - App Landing Page

SimpleApp is a clean and simple landing page for your mobile app. This snazzy Bootstrap template features a beautiful flat design and a cool minimal form.

Semi-Pro Bootstrap Portfolio Theme

Semi-Pro Bootstrap Portfolio Theme

Semi-Pro is a portfolio theme ideal for freelancers and creative agencies. It includes 8 HTML templates with fully skinned components.

FLAT KING – One Page Template

Flat King - One Page Template

Flat King is a clean one page responsive Bootstrap theme. Flat King is great for any kind of business or agency looking to showcase the products and services.

Jessica – One Page Resume Template

Jessica - One Page Resume Template

Jessica is simple and clean one page Bootstrap resume / cv template. This template is suitable for anyone looking to publish a clean and elegant resume online.

Cleany – Blog/Portfolio Template

Cleany - Blog & Portfolio Template

Cleany is a clean and easy to use Bootstrap template that can be used as a blog or as a portfolio website.

Bootstrap Tutorials For Web Designers

The 10 Most Useful Bootstrap Tutorials For Web Designers (2014)

When i first got into web development, the one thing that always used to stump me was just how much information was out there in the way of tutorials. There seemed to be an endless choice of places to learn. But with all these options, there was a tradeoff. The paradox of choice. Because i had so many places that i ‘could’ learn, and because my time was limited, i had a lot of trouble deciding where i ‘should’ learn.

This post is the one i wish i had when i first started to learn about the uber useful html/css framework twitter bootstrap. Had i had a list like this, i reckon i could’ve cut down my learning time dramatically and got to where i wanted to go much faster.

So here it is, the 10 most useful Bootstrap Tutorials For Web Designers (2014) – enjoy!

11 Reasons to Use Twitter Bootstrap – SitePoint

Why it’s useful:

Before you really dig in to any new technology, it’s always helpful to gain an insight into WHY you should learn it in the first place and what the possible benefits could be, some that you may not even have realised. This article does a very good job of breaking down the key benefits that bootstrap has to offer. It also taught me a few things that i wasn’t aware of! And i’ve been using Bootstrap for a while now!

Screen Shot 2014-07-03 at 21.38.22


Getting started with Bootstrap 3 – Extreme CSS

Why it’s useful:

Once you’ve made the commitment to learning Bootstrap, this tutorial serves as the perfect starting point. I like it personally because it is low on assumption and very beginner friendly. Unlike a lot of programmer oriented tutorials out there, this is great for a ‘not so code savvy web designer’ to get their feet wet with.


Build A Responsive Bootstrap 3 Site (Tutorial Series) – Youtube

Why it’s useful:

I find that the best way to take in new tech, is to read, see it demonstrated and then read again. For me this has been the most effective way to make the new information sink in. Watching a video tutorial really increases the reference points that you have for a topic very quickly, and for that purpose this particular tutorial is the best one i’ve found (for free) online.


Why it’s useful:

Bootstrap 3, unlike previous versions has embraced a mobile first approach to its functionality – which means that responsiveness is no longer a ‘should’ but a must. This is the perfect tutorial to help you get your head around the responsive, mobile first approach to web design that Bootstrap 3 takes. It is also pretty well written and very easy to follow. Helped me brush on my responsive/mobile first understanding.


A Comprehensive Introduction to LESS – SitePoint

Why it’s useful:

Less extends CSS and adds a lot of programmatic power to it by allowing you to create more modular styles. Using it (once you get a hang of it) can speed up your development workflow quite dramatically in a short period of time. This tut really does what it says on the tin in that regard. It breaks down the key concepts in a simple format, that makes sure you don’t get lost trying to reimagine how css should be written, like i did initially :).


Twitter Bootstrap 3 – JavaScript Components – SitePoint

Why it’s useful:

Twitter Bootstrap is essentially a combination of 3 things – HTML, CSS and JS. What rarely gets talked about in beginner tutorials for bootstrap online is the JS side of the equation. Despite the fact that this is probably the most powerful part of the entire framework! :) – this tutorial provided by Sitepoint breaks it all down and outlines the key javascript components that are essential to almost any bootstrap project.


Bootstrap 3 Less Workflow Tutorial – Hello Erik

Why it’s useful:

Once you’ve gotten a handle on LESS – as mentioned above, its primary benefit is that it offers a fairly dramatic productivity boost. But before you can really get into that groove, you’ll need to get a hang of a good workflow for it. This tutorial provides that in a very very comprehensive but simple way.


Up and Running with Bootstrap 3 – Lynda

Why it’s useful:

It’s not free, which is why i recommeded it towards the end but this is how i personally first got my feet wet with twitter bootstrap. So had to add it into the mix! It is honestly the best paid or free bootstrap primer/tutorial online, hands down. Very clear, succint and just plain perfect for a noob. Like i was before i watched it. ;)


Bootstrap 3 Grid Introduction – helloerik

Why it’s useful:

As a web designer, you’re probably fairly familiar with the Grid system. What makes Bootstrap as useful as it is is that it has implemented this concept in a programmatic way that almost anyone can understand. It does take a while to learn the syntax but coming from a design background, once you do that, you’ll fall in love with the Bootstrap way of displaying page layout. And this tutorial is the shortest way to get to that level of understanding.


What’s New in Bootstrap 3 – SitePoint

Why it’s useful:

I thought it’d be best to save this one for last. As it only really becomes helpful once you start to really dig in to Bootstrap. Seeing where it’s been and what its doing now will give you a broader view of where it might be going in the future and how and what you should stay on top of, should you want to keep up with it. This article gives a full breakdown of the new features in Bootstrap 3!

Tags: , , , , , , , , , , , , , ,