[bug] Disable caching for "info" page; Fix bug 76133

This commit is contained in:
Sergey Konovalov
2025-07-29 15:46:05 +03:00
parent 85951bc8bb
commit d09f60912d
5 changed files with 33 additions and 5 deletions

View File

@ -40,7 +40,13 @@
"path": "../branding/welcome"
},
"/info": {
"path": "../branding/info"
"path": "../branding/info",
"options": {
"maxAge": 0,
"cacheControl": "public, no-cache, must-revalidate",
"etag": true,
"lastModified": true
}
}
}
},

View File

@ -40,7 +40,13 @@
"path": "../branding/welcome"
},
"/info": {
"path": "../branding/info"
"path": "../branding/info",
"options": {
"maxAge": 0,
"cacheControl": "public, no-cache, must-revalidate",
"etag": true,
"lastModified": true
}
}
}
},

View File

@ -40,7 +40,13 @@
"path": "../branding/welcome"
},
"/info": {
"path": "../branding/info"
"path": "../branding/info",
"options": {
"maxAge": 0,
"cacheControl": "public, no-cache, must-revalidate",
"etag": true,
"lastModified": true
}
}
}
},

View File

@ -39,7 +39,12 @@
},
"/info": {
"path": "/var/www/onlyoffice/documentserver/server/info",
"options": {"maxAge": "7d"}
"options": {
"maxAge": 0,
"cacheControl": "public, no-cache, must-revalidate",
"etag": true,
"lastModified": true
}
},
"/sdkjs-plugins": {
"path": "/var/www/onlyoffice/documentserver/sdkjs-plugins",

View File

@ -43,7 +43,12 @@
},
"/info": {
"path": "../info",
"options": {"maxAge": "7d"}
"options": {
"maxAge": 0,
"cacheControl": "public, no-cache, must-revalidate",
"etag": true,
"lastModified": true
}
}
}
},