Skip to content

Commit

Permalink
Merge pull request #1298 from joreilly/vary
Browse files Browse the repository at this point in the history
[backend] Add Vary header
  • Loading branch information
martinbonnin committed Apr 21, 2024
2 parents 0d07a1b + c941305 commit 36798c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ class DefaultApplication {
} else {
headers.put("Cache-Control", "public, max-age=$maxAge")
}
headers.put("Vary", "conference")

var newExtensions: Map<Any, Any?>? =
graphQLResponse.extensions?.filterNot { it.key == "maxAge" }
Expand Down

0 comments on commit 36798c7

Please sign in to comment.