Mondoze Knowledge Base

Search our articles or browse by category below

What does the Mirage Do?

Last modified: October 5, 2022
You are here:
Estimated reading time: 1 min
In this article

What is Mirage?

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, will pull this into one request so visitors can start experiencing the images immediately.

More on how 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;
Was this article helpful?
Dislike 0
Views: 29