Skip to content

Commit

Permalink
feat(Switches): absolute server times (#27166)
Browse files Browse the repository at this point in the history
Try to improve our cache HITs and serve
more 304 Not Modified when the content
is actually no different than before.
  • Loading branch information
mxdvl authored May 20, 2024
1 parent 4633e96 commit 426a7a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/app/conf/switches/JournalismSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,14 @@ trait JournalismSwitches {
sellByDate = never,
exposeClientSide = true,
)

val AbsoluteServerTimes = Switch(
SwitchGroup.Journalism,
name = "absolute-server-times",
description = "Force times on the server to be absolute to improve caching",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = never,
exposeClientSide = true,
)
}

0 comments on commit 426a7a5

Please sign in to comment.