fix: заменить cache-busting через query на Cache-Control заголовок
All checks were successful
CI/CD Pipeline / build (push) Successful in 17s
CI/CD Pipeline / version (push) Has been skipped
CI/CD Pipeline / docker (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped

- Убран query-параметр ?v= из ссылки на ARCHITECTURE.md
- Добавлен заголовок Cache-Control: no-cache для ARCHITECTURE.md в Caddyfile
This commit is contained in:
2026-05-01 21:29:54 +03:00
parent ced6a07398
commit 70f0e20646
2 changed files with 2 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
header @plainText Content-Type "text/plain; charset=utf-8"
@markdown path /ARCHITECTURE.md
header @markdown Content-Type "text/markdown; charset=utf-8"
header @markdown Cache-Control "no-cache, no-store, must-revalidate"
file_server
header Link "</llms.txt>; rel=\"llms\""
try_files {path} {path}.html {path}/index.html /index.html