mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Disable caching for "info" page; Fix bug 76133
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -43,7 +43,12 @@
|
||||
},
|
||||
"/info": {
|
||||
"path": "../info",
|
||||
"options": {"maxAge": "7d"}
|
||||
"options": {
|
||||
"maxAge": 0,
|
||||
"cacheControl": "public, no-cache, must-revalidate",
|
||||
"etag": true,
|
||||
"lastModified": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user