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

only rate limit requests that return data #47

Open
lanrat opened this issue Aug 4, 2022 · 0 comments
Open

only rate limit requests that return data #47

lanrat opened this issue Aug 4, 2022 · 0 comments
Labels

Comments

@lanrat
Copy link
Member

lanrat commented Aug 4, 2022

Requests to pages that do not return data should not be rate-limited.

For example: js, css, static assets should not be rate limited.

Adding a flag/option to the router that can opt a page out of rate-limiting is probably the best way to go. However the default should be for rate-limiting to be enabled.

ex: https://github.com/CAIDA/dzdb-web/blob/master/app/web.go#L52

@bhuffaker bhuffaker added the UI ? label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants