yazgoo created FLINK-20559:
------------------------------
Summary: history-server: don't add caching headers for /jobs/overview.json
Key: FLINK-20559
URL:
https://issues.apache.org/jira/browse/FLINK-20559 Project: Flink
Issue Type: Bug
Components: Runtime / Web Frontend
Affects Versions: 1.11.2
Reporter: yazgoo
Attachments: a.diff
History server returns
Cache-Control: max-age=300 for `/jobs/overview` path.
It should not cache this because if a new jobs get added it is not up to date.
Looking at the source code, looks like an exception was added for joboverview.json, but since the file was renamed, the exception was not updated.
Attached is a diff of a fix for handling this: [^a.diff]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)