You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/24 10:16:00 UTC
[jira] [Updated] (FLINK-20559) history-server: don't add caching
headers for /jobs/overview.json
[ 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)