then there is a chance that they will both fetch the resource simultaneous, wasting bandwitdh, compute, and adding extra unwanted latency. Under the hood, in my triplit-nuxt module, I use
However, unless I handle the de-duplication myself, the (effectively fetch) request will fire multiple times. What I want to know is what is the correct way to de-duplicate requests like this? Should this even be a module-level thing, or is this an application layer problem?