The Ten Commandments of Web Performance
Paweł Kowalski | June 25, 2020
![The Ten Commandments of Web Performance](https://uploads.prod01.oregon.platform-os.com/instances/1374/uploads/images/custom_image/image/50909/transformed_10CommandmentsofPerformance_cover.png)
Follow these commandments, and your website will not be remembered as slow.
Infographic
![The Ten Commandments of Web Performance Infographic](https://res.cloudinary.com/practicaldev/image/fetch/s--jTx1YuJj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/e4jdomkhyf98vrec64m6.png)
- You shall never put shiny, bloated frameworks above your user's experience.
- You shall always try to use native features before you reimplement them in JavaScript.
- You shall use lazy loading whenever it can be used within reason.
- You shall always serve images compressed and in the correct format.
- You shall regularly test your website performance and fix issues as they arise.
- You shall split JavaScript code to load what is needed when it is needed.
- You shall serve web fonts in the proper format.
- You shall always use a CDN for assets.
- You shall do your due diligence when using dependencies making sure you are choosing the right one for the job.
- You shall spread the word of performance amongst both technical and non-technical people.
Bonus:
"Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live." — John Woods
Interested in knowing more about partnering with platformOS?
Ensure your project’s success with the power of platformOS.