Published on July 17, 2019 Last modified on February 19, 2021
As we have mentioned several times, speed optimization should not be a one-time project.
Practices such as compressing and optimizing your images or minifying resources have to be done consistently, especially if your site gets updated quite often, to make sure that your optimized page load time don’t regress.
The most efficient way to maintain speed is by setting a performance budget.
A performance budget is a set of target metrics that you want your site to consistently stay within the range of. This online tool lets you calculate a performance budget based on your goal of page load time on a specific connection.
For example, setting a goal of 3 seconds load time in a fast 3G connection gives you a budget of 600KB.
This is the maximum weight you can allot for your page.
It also provides a breakdown of commonly used elements and the corresponding kilobytes you can allot for them. You can toggle these allocations to adjust which elements you want to assign more resources for.
Of course, a performance budget can only work when you follow it.
When you want to add an element to your page that will likely result to you going over the budget, you can either: a) remove an existing element to make way for the one you want to add, b) not add the new element at all, or c) adjust your performance budget, but be prepared for any consequences it may have on your page speed.
Ultimately, a performance budget is still a guide and not a strict rule.
It simply serves as a reference, but a good strategy will not come out of rejecting any site improvements just because it doesn’t fit the budget.
Speed optimization as a practice is constantly evolving. Many new factors will inevitably emerge in the future, and even user perception and expectation will not always be the same as it is today. A good partner in web development will help you stay on top of these many changes, while also making sure that you’re actually keeping up.
If you’re suffering from a slow website, or even just want to make sure that your load time stays as fast as it could for your users, contact us and we will be happy to provide a solution for you.