v6.7.3: faster loading, and pages search engines can read

The bundles carried all thirteen translations at once and a page fetched them a
third time as raw source; each page now loads only its own language. Alongside
that: JavaScript is minified, the eight stylesheets are served as one file, the
QR scanner is fetched after the app is up instead of on every visit, Inter ships
once rather than five copies of the same file, and Font Awesome is subset to the
82 icons this app draws instead of all 2468.

1.85 MB across 43 requests becomes under 700 KB across 33. On mobile the page
starts drawing in 1.6 s instead of 6.3 s and is usable in 4.5 s instead of 11 s.

Pages also carry their text in the HTML now. Everything was drawn by JavaScript
into an empty div, so crawlers saw correct metadata around nothing, and twelve of
the thirteen language pages had never been shown to anyone. The documentation is
published under /docs/ with a new FAQ, and unknown addresses return a real 404.

Separately: the localized shells were served with the year-long immutable cache
header meant for static assets, which pinned anyone who opened /de/ or /ru/ to
that build. The header is fixed and the service worker refreshes what it cached.

Claude-Session: https://claude.ai/code/session_014KjzTXxrhzYoDDWChYQ4u2
This commit is contained in:
lockbitchat
2026-09-04 00:41:46 -04:00
parent 0691ce618c
commit 414c27fda6
111 changed files with 19469 additions and 107393 deletions
+2 -3
View File
@@ -5,9 +5,8 @@
"nativeName": "Русский",
"abbr": "RU",
"meta": {
"title": "SecureBit.chat - приватный мессенджер со сквозным шифрованием",
"description": "SecureBit.chat - бесплатный одноранговый мессенджер со сквозным шифрованием, работающий целиком в браузере. Без учётных записей и без серверов, хранящих ваши сообщения: ECDH P-384, AES-256-GCM и личная сверка SAS.",
"keywords": "зашифрованный мессенджер, сквозное шифрование, одноранговый чат, P2P-мессенджер, ECDH, DTLS, сверка SAS, WebRTC, приватный чат, защищённый чат, без серверов, без регистрации, защита от MITM, PFS",
"title": "SecureBit.chat - мессенджер со сквозным шифрованием",
"description": "Бесплатный P2P-мессенджер со сквозным шифрованием прямо в браузере. Без учётных записей и без серверов, хранящих ваши сообщения.",
"ogTitle": "SecureBit.chat - одноранговый чат со сквозным шифрованием",
"ogDescription": "Защищённый мессенджер, работающий целиком в вашем браузере. Без учётных записей и без серверов, хранящих ваши сообщения. Подключайте свои STUN/TURN-серверы - мы ничего не навязываем.",
"ogImageAlt": "SecureBit.chat - одноранговый чат со сквозным шифрованием",