Member-only story
The loading speed of a website has become one of the most important factors in recent years in web design and, although there are many elements that can be optimized to lighten the total weight of downloaded files, in this article we are going to focus on optimizing CSS files, more specifically when writing CSS.
That a website weighs little and loads fast is an obvious improvement of the UX (user experience), because visitors get to reach the content before and interact with it. But it also has other associated advantages, such as lower data consumption and even saving in the device’s battery.
his was already important some time ago. But it has been Google’s decision to include load speed among the factors that determine the positioning within the search engine, which has made us crazy with SEO trying to reduce the tenths in the load time and save some kb when possible.
This has led to what we call WPO (Web Performance Optimization), a field of work where the goal is to optimize the maximum load of the web through compression techniques and content optimization.
How to reduce the weight of your CSS files
There are many techniques to reduce the weight of CSS files. The best known are to group all the styles sheets of the web in a single file, minimize it and…