Browser & Web Performance · Senior · Question 4 of 75
After enabling COEP: require-corp, third-party images stopped loading. What are the options?
- 1Load the images with
loading="eager" - ✓Correct answer: The third party must send
Cross-Origin-Resource-Policy: cross-originor serve via CORS; or useCOEP: credentialless - 3Add the images to the CSP
img-srclist
Explanation
credentialless loads no-cors cross-origin resources without cookies, so they can't contain user-specific secrets.