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

Skip Cache Flag for API (?) #2314

Closed
adamkrellenstein opened this issue Oct 6, 2024 · 5 comments
Closed

Skip Cache Flag for API (?) #2314

adamkrellenstein opened this issue Oct 6, 2024 · 5 comments

Comments

@adamkrellenstein
Copy link
Member

No description provided.

@adamkrellenstein adamkrellenstein changed the title Skip Cache Flag for API Skip Cache Flag for API (?) Oct 8, 2024
@ouziel-slama
Copy link
Contributor

It sounds a little weird to me :-) Generally, it's the responsibility of the server to decide when to use the cache (for DDoS attacks, for example). Also, if the cache is well-implemented on the server side, you should never see a difference as a client !

@adamkrellenstein
Copy link
Member Author

Yeah this is just for debugging purposes... Not sure what the best soln is though.

@adamkrellenstein
Copy link
Member Author

adamkrellenstein commented Oct 8, 2024

The cache is global, so it is weird for one user to be able to bypass it. (Would the cache be updated in that case?)

@ouziel-slama
Copy link
Contributor

yep! when a user does not use a cache he penalizes other users by consuming more server resources for the same result.. this is not serious when there are few users but it remains strange that a user can decide to make a server work more :) (in that case we can decide to update the cache or not)

@adamkrellenstein
Copy link
Member Author

See #2783

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