From a3f7e9976eba46460cd92a8e9873ff7aea22f77d Mon Sep 17 00:00:00 2001 From: Maxim Dolgolyov Date: Sat, 30 May 2026 09:58:17 +0300 Subject: [PATCH] fix(phys9): cache-bust phys9_*.js + phys.js (?v=20260530) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KaTeX-фикс в phys9_ch1_widgets.js (delimiters $...$ в renderMathInElement) и исправление ловушки $(v_1+v_2)/2$ в §7 «Средняя скорость» уже были в HEAD (коммит 5b075cd), но из-за агрессивного браузерного кеша JS-файлов пользователи продолжали видеть старую версию: формулы как raw текст, ловушка как ($v_1+v_2)/2$ с битым синтаксисом. HTML уже имеет no-cache meta-теги, но они не контролируют кеш связанных JS. Добавляю query-string ?v=20260530 к phys.js и phys9_*.js на 5 страницах глав. --- frontend/textbooks/physics_9_ch1.html | 10 +++++----- frontend/textbooks/physics_9_ch2.html | 10 +++++----- frontend/textbooks/physics_9_ch3.html | 10 +++++----- frontend/textbooks/physics_9_ch4.html | 10 +++++----- frontend/textbooks/physics_9_ch5.html | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/frontend/textbooks/physics_9_ch1.html b/frontend/textbooks/physics_9_ch1.html index 0322e61..b15ffb9 100644 --- a/frontend/textbooks/physics_9_ch1.html +++ b/frontend/textbooks/physics_9_ch1.html @@ -14,11 +14,11 @@ onload="renderMathInElement(document.body,{delimiters:[{left:'$$',right:'$$',display:true},{left:'$',right:'$',display:false},{left:'\\[',right:'\\]',display:true},{left:'\\(',right:'\\)',display:false}],throwOnError:false})"> - - - - - + + + + +