d2l-fetch-dedupe
JSON →A middleware function for de-duplicating fetch requests in the d2l-fetch ecosystem. Version 2.1.1 is the latest. It deduplicates concurrent requests based on url+Authorization header combination, returning a cloned response for duplicate requests. Designed for Brightspace's d2l-fetch library, it is ESM-only and requires a browser environment. Compared to generic dedup patterns, it integrates natively with d2l-fetch's middleware chain.
Resources
packaged2l-fetch-dedupe ↗