The impact of removing jQuery on our web performance - Inside GOV.UK

2022-08-18

https://insidegovuk.blog.gov.uk/2022/08/15/the-impact-of-removing-jquery-on-our-web-performance/

GOV.UK が jQuery を排除したことによるパフォーマンス改善の結果。
政府機関のように多種多様なユーザーが使われるサイトのデータは貴重。

JavaScript is known as a “render-blocking” resource. This means when a browser encounters JavaScript it goes through a multistep process which involves it being downloaded, then uncompressed, before it’s finally parsed and executed. This all happens within a device's available Central Processing Unit (CPU) and memory. These tasks can be very slow and energy intensive depending on the device and connection.

そう、同じ容量でも JavaScript と画像では全然パフォーマンスに与える影響が違うんだよな。