Place js just before body close for speed

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the web-development category.

Last Updated: 2024-11-23

Always put JS right before the closing tag of the body. It will be much faster to render. This was true even in 2022 (and like 30%+ faster)