bbc / alephant-broker

Brokers requests for alephant components
MIT License
4 stars 3 forks source link

Added revalidating response header #75

Closed fewstera closed 8 years ago

fewstera commented 8 years ago

To allow us to show an up to date version of a market data chart to a journalist we need to know when the chart they're viewing is stale (and about to be updated).

This PR should add the response header broker-cache: revalidating.

We can then use this header to refresh the chart in the MD admin UI.

Related ticket: https://jira.dev.bbc.co.uk/browse/NEWSINDEP-2348

dazoakley commented 8 years ago

Looks good to me 👍