Book Image

Responsive Design High Performance

By : Els
Book Image

Responsive Design High Performance

By: Els

Overview of this book

This book is ideal for developers who have experience in developing websites or possess minor knowledge of how responsive websites work. No experience of high-level website development or performance tweaking is required.
Table of Contents (11 chapters)
7
7. Speeding Up Development with Design Concepts, Patterns, and Programs
10
Index

Expires headers


Let's say you have a website and it loads 50 resources. How terrible would it be if, every time a user returns to the website, all 50 resources had to redownload every time. That's not ideal. Fortunately, we have the ability to cache resources.

For static content, such as JavaScript files, favicons, and other content that will not change very often, it's safe to set a long expiry. This way, when the website is accessed, these items will be in cache, and this will automatically make the website faster for your users.