Warning: Cross-Origin Read Blocking (CORB) blocked cross-origin response

Sometimes, when using ShortPixel Adaptive Images, you will see that a warning shows up on the developer console, like this:

The warning will say "Cross-Origin Read Blocking (CORB) blocked cross-origin response ... with MIME type application/octet-stream."

This issue appears when there is no  access-control-allow-origin: * specified in the headers of the image or when there is no actual image but just a broken one.

To solve this, flush your website's cache and then try again. Please do it in this order:

  1. Cache plugins (WP Rocket, LiteSpeed Cache, SG Optimizer...)
  2. Server cache (SiteGround, Bluehost...)
  3. CDN cache (Cloudflare, StackPath...)
  4. Browser cache (Chrome, Firefox, Edge, Safari...)

If that doesn't work, then also please try to change the CDN URL as explained here. In short, you basically will need to have https://cdn.shortpixel.ai/spai2 instead of https://cdn.shortpixel.ai/spai.

If that still doesn't solve the issue, please contact us and we'll do our best to help.

Still need help? Contact Us Contact Us