218 КБ переводов в каждой странице: что прячется в payload Nuxt-приложения
- Words
- 61
- Chars
- 385
- AI summary
- Yes
A frontend developer at BIGPLAY, an esports platform built on Nuxt, looked into why the homepage weighed more than half a megabyte of HTML. They found the entire website translation dictionary, 218 KB, in every page. The article explains how it got there and how they removed it, cutting payload from 256 KB to 47 KB. It also covers why they did not optimize further and what a check of 36 sites from the Nuxt showcase showed.
Я фронтенд-разработчик в BIGPLAY — киберспортивной платформе на Nuxt. Разбирался, почему главная страница весит больше полумегабайта HTML, и нашёл там весь словарь переводов сайта — 218 КБ, в каждой странице. Рассказываю, как он туда попал, как мы его убрали (payload 256 → 47 КБ), почему не стали оптимизировать дальше — и что показала проверка 36 сайтов из витрины Nuxt. Читать далее
Open article