Closed JackLewis-digirati closed 1 week ago
Related to #833
This PR adds a Cache-Control header of no-cache,no-store to the following endpoints:
Cache-Control
no-cache,no-store
auth/{customer}/clickthrough
auth/{customer}/token
auth/{customer}/{authService}
auth/{customer}/{authService}/logout
This should help to avoid issues where auth responses are cached incorrectly
NOTE: this header has not been added to auth/v2/probe/{customer}/{space}/{image} as this resource already has a Cache-Control value of private
auth/v2/probe/{customer}/{space}/{image}
private
Btw, no-cache,no-store is equivalent to no-store https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#use_cases
no-store
should be changed to use just no-store - thanks Gary
Related to #833
This PR adds a
Cache-Control
header ofno-cache,no-store
to the following endpoints:auth/{customer}/clickthrough
auth/{customer}/token
auth/{customer}/{authService}
auth/{customer}/{authService}/logout
This should help to avoid issues where auth responses are cached incorrectly
NOTE: this header has not been added to
auth/v2/probe/{customer}/{space}/{image}
as this resource already has aCache-Control
value ofprivate