fetch are not cached and therefore caches essentially do not consume request
Therefore, there is no need to clone. - asked Jake about his writing earlier.
responses , however, put or added to the cache and / or can be passed along then as JSON / text / something else - which means that they / can be used.
My guess: if you use or mutate , then you need to clone it.
A read may not do in caches.match
I also suggest that maybe another reason is that reading on the request itself is not piped in the chain and only reading once as caches.match , as soon as this happens, reading happens only once, but the response flow may be transferred to other pipelines with mutation / conversion / recording
I just grab from the specification of flows ... also to decrypt everything that develops. Maybe I'll leave it to the experts
So, if I still rephrase my understanding, clone what is ideally consumed , and don't worry otherwise. And in this case, the read itself does not mutate the request / writes it elsewhere, so there is no need to clone
Schrodinger's cat
source share