Skip to content

GuillaumeRossolini/il

Repository files navigation

This repository is a collection of tips that were used at a previous job (InstantLuxe.com, 2009-2018), in order to improve the loading time of the web pages, most notably in relation to asset optimization and brower caching rules.

Feel free to adapt any of this for your website, and don't hesitate to let me know if you do. Possible improvements are welcome via issues or pull requests.

The whole article is also available as a PDF here.

Let's begin:

Web caching rules used at InstantLuxe.com

By simply following best practices and using good open source tools, not necessarily costly services, here is what you could achieve:

WPT mobile

above: WebPageTest performance summary for the mobile homepage (May 31st, 2018)

WPT desktop

above: WebPageTest performance summary for the desktop homepage (May 31st, 2018)

We can reach several thousand users at the same time without a notable slowdown, which is well beyond our usual usage. Since our users are mostly located in France, our servers are there as well and we don’t have much use for a CDN (yet). Likewise, we don’t use serverless or a load balancing system, this is served by a only few dedicated servers with simple roles.

Another view is reported by PageSpeed Insights with Chrome UX Report (November 12th, 2018):

Mobile:

WPT desktop

WPT desktop WPT desktop

Desktop:

WPT desktop

WPT desktop WPT desktop

What follows can be seen a set of guidelines, tips and tricks that we have used to improve the technical performance of our website. It may or may not apply to anyone else, or have the same results if you do.

Modern image optimisation tutorials on the web tend to use JavaScript as a base tech in their tooling. We have been to use Bash for the most part. To follow along, you will need to be able to install new software on a machine. Since we are talking about web performance, a web server is required as well (examples are provided for both httpd and nginx).

  1. Guidelines
  2. Front-end
  3. Scripts

About

Collection of tips to improve web page loading times

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages