javascript - What limitations apply to opaque responses? - Stack Overflow

PHOTO EMBED

Mon Apr 24 2023 06:36:18 GMT+0000 (Coordinated Universal Time)

Saved by @Asneeda_razali #javascript

const request = new Request('https://third-party-no-cors.com/', {
  mode: 'no-cors',
});

// Assume `cache` is an open instance of the Cache class.
fetch(request).then(response => cache.put(request, response));
content_copyCOPY

https://stackoverflow.com/questions/39109789/what-limitations-apply-to-opaque-responses#new-answer?newreg