[
https://issues.apache.org/jira/browse/FLINK-20559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-20559:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> 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)