aljoscha commented on issue #7312:  [FLINK-11169][runtime] fix the problem of 
not being reloaded for jobmanager's…
URL: https://github.com/apache/flink/pull/7312#issuecomment-452242624
 
 
   I think we can add a new internal field `shouldSetCacheHeaders` (or 
something like this) and when creating the `StaticFileServerHandler` we set 
this appropriately in the constructor. `StaticFileServerHandler` is only used 
in very few places. This is where it is used for the log/stdout files: 
https://github.com/apache/flink/blob/3f231ac46537654aebdd73b0f42aa823386bf901/flink-runtime/src/main/java/org/apache/flink/runtime/webmonitor/WebMonitorEndpoint.java#L689.
 Also, this method should be called `createLogFileHandler()`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to