Skip to content

Commit

Permalink
Update guideline/static-context-provider.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Reining <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant and lukas-reining authored May 17, 2024
1 parent a61e2bf commit ed3ac70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guideline/static-context-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ flowchart TD
## Polling
The polling system will make a POST request periodically to the `/ofrep/v1/evaluate/flags` endpoint to check if there is a change in the flags evaluation to be able to store it.

If an `ETag` is available we should always add the header `If-None-Match` with the `ETag` value.
If an `ETag` of a former evaluation is available we should always add the header `If-None-Match` with the `ETag` value.
- If the cache is still up-to-date we will receive a `304` telling us that the nothing has changed on the flag management system side.
- If the cache is outdated we will receive a `200` with the new values of all the flags. In that situation we should:
1. Replace the actual local cache of flags evaluations.
Expand Down

0 comments on commit ed3ac70

Please sign in to comment.