View Categories

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

Sometimes, when using ShortPixel Adaptive Images, you will see a warning showing 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 following these instructions:
How to clear WordPress cache

If that doesn’t work, then also please try to change the API 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.