Bypass cache for web panel updates

This commit is contained in:
kzolotarev95 committed 2026-06-28 17:19:31 +04:00
1 parent c61a6e5786
commit 104bf8f390
3 files changed
+18 -5

No files matched your search

+4 -1
View File
@@ -96,7 +96,10 @@ authorized() {
}
http_html() {
printf 'Content-Type: text/html; charset=utf-8\r\n\r\n'
printf 'Content-Type: text/html; charset=utf-8\r\n'
printf 'Cache-Control: no-store, no-cache, must-revalidate, max-age=0\r\n'
printf 'Pragma: no-cache\r\n'
printf 'Expires: 0\r\n\r\n'
}
http_unauthorized() {