Bypass cache for web panel updates
This commit is contained in:
1 parent
c61a6e5786
commit
104bf8f390
3 files changed
+18
-5
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user