What Does Mirage Do?

Mirage image optimization will help speed up loading of images through three key attributes:

1. Mirage will analyze the type of connection and device the visitor is coming from, which helps optimize the image loading experience based on network and device connection.

2. Mirage will virtualize the images, so a visitor on a poor connection will get a smaller version (lower resolution) of the image until the customer is back on a higher bandwith connection (high resolution).

3. Streamlining requests into one. Instead of sending multiple requests for all of the images on the site, Mirage will pull this into one request so visitors can start experiencing the images immediately.

More on how Mirage works

If you send a CSP (content security policy) header that restricts where scripts can be loaded, you'll need to ensure ajax.cloudflare.com is enabled.

An example, allowing scripts from your own domain as well as ajax.cloudflare.com, would be:

script-src 'self' ajax.cloudflare.com;


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.