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

[Improvement] Enhance Request Deduplication with Generated Cache Key #61

Open
MattCCC opened this issue Sep 22, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@MattCCC
Copy link
Owner

MattCCC commented Sep 22, 2024

Currently, the fetchff plugin only utilizes a short-lived, per-request configuration that is passed during each request. This approach does not effectively handle request deduplication, potentially leading to redundant network traffic and increased server load.

To improve the efficiency of the fetchff plugin, we need to implement a strategy that uses a generated cache key for request deduplication. This will help avoid unnecessary requests and improve response times.

Expected behavior:
If previous request to the same endpoint is in progress elsewhere, the current call should await for the call from the previous one to finish.

@MattCCC MattCCC changed the title Enhance Request Deduplication with Generated Cache Key [Improvement] Enhance Request Deduplication with Generated Cache Key Sep 22, 2024
@MattCCC MattCCC added the enhancement New feature or request label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant