Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring querystring policy #227

Open
3 tasks
bengerman13 opened this issue Dec 3, 2021 · 0 comments
Open
3 tasks

Allow configuring querystring policy #227

bengerman13 opened this issue Dec 3, 2021 · 0 comments

Comments

@bengerman13
Copy link
Contributor

In order to allow users to better tune performance, we want to allow setting querystring behavior

Acceptance Criteria

  • GIVEN a create request
    AND no specified querystring behavior
    WHEN the broker provisions the distribution
    THEN querystrings should be treated as cache keys
    AND querystrings should be sent to the origin
  • GIVEN a create request
    AND querystring behavior specified as "none"
    WHEN the broker provisions the distribution
    THEN querystrings should not be treated as cache keys
    AND querystrings should not be sent to the origin
  • GIVEN a create request
    AND querystring behavior specified with an allowlist
    WHEN the broker provisions the distribution
    THEN allowed querystrings should be treated as cache keys
    AND allowed querystrings should be sent to the origin \
    AND non-allowed querystrings should not be treated as cache keys

Security considerations

This won't change our security posture significantly, but if used properly it can help make DoS/DDoS harder for certain sites

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant