TECH

Vol.14

author

Designer

Y.T.

Optimizing the Speed of Responsive Websites

#WEB#Web design#ブラウザ#Accessibility
Last update : 2026.5.13
Posted : 2015.1.26
Here, we will introduce some methods to make website loading speeds even faster.
stuffstuff

Introduction

Following TIPS Vol.13: “Why We Recommend Responsive Web Design”, this time we will talk about improving the speed of responsive websites. Even if the display speed of a responsive website does not seem slow on a PC, it may feel slow when viewed on smartphones using 3G or 4G network environments. Let’s take a look at some methods that can help improve website loading speed, even if only slightly.

stuffstuff

1. Use Browser Cache

Use cache for content that doesn’t change frequently!

Browser cache is a feature that allows the browser to store information from websites it has displayed.
By utilizing browser cache, files that have already been loaded no longer need to be fetched again from the server, which can help improve website loading speed.
This time, we will configure caching so that content is stored on the user’s device.
The settings are written in the .htaccess file.
First, specify the file extensions you want to cache.
If specifying multiple extensions, separate them with a | character.
Next, specify the cache expiration time. The expiration period is defined in seconds.

<Files ~ ".(gif|jpe?g|png|ico)$">
Header set Cache-Control "max-age=2592000, public"
</Files>

For more detailed information, including how to configure different settings depending on file extensions, please refer to the following website:
Just a Few Minutes! Configure Cache Settings in .htaccess for Faster Pages!

stuffstuff

2. Review the Source Code

Check whether there are any errors in the HTML code

If there are errors or missing elements in the HTML code, the browser may become confused when trying to locate files.
As a result, it can take more time to load the page.
To avoid errors or omissions, and to make it easier for the browser to find information, the site structure should be kept as simple as possible.
Avoid overly deep hierarchies and use a simple directory structure so that browsers can navigate layers more easily, which helps improve loading speed.
Additionally, removing unnecessary tags and properly setting image width and height can also improve display performance.

stuffstuff

3. Make Use of What CSS Can Do

CSS sprites are a method of combining multiple small images, such as icons, into a single image and displaying specific parts of it using CSS.
By combining images in this way, the number of HTTP requests (requests sent to the server for data) can be reduced.
This is a CSS technique used to improve website performance, so it is worth making use of it for faster loading times.

CSS Sprite

stuffstuff

4. Image Optimization

TIPS Vol.2 is helpful for reference!

TIPS Vol.2: “Dramatically Faster Loading Speeds – Web Performance Optimization” summarizes ways to improve page speed.
It also introduces lossless compression.
A recommended compression tool is TinyPNG.
Please also refer to TIPS Vol.2.

stuffstuff

Summary

How did you find it?
It is said that users will only wait up to 2 seconds for a web page to load.
Research also shows that if it takes more than 3 seconds, over 40% of users will leave the page.
To create a website that satisfies users, speed optimization is essential.
We hope this helps you in creating better websites.

PREV
Vol.13Why We Recommend Responsive Web …
NEXT
Vol.15Is there really only 24 hours in…

MORE FOR YOU