Site's 79 pages share 32 JavaScript files, but two identical animation libraries are served under different names
An audit of a 79-page site's sitemap found that every page loads from just 32 distinct JavaScript files. Two pairs of those files were found to hold effectively the same animation library, with byte counts matching exactly and differences limited to build debug IDs and numeric module IDs. Because the duplicates have different URLs, a visitor moving from one page to the homepage has to re-download code their browser already has. The three legal pages avoid the animation library only because their compact footer contains no animated wordmark. The author also notes that a bundle served only to legacy browsers inflates the transfer figures.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in