Mirage Image Optimization

Many websites struggle with the challenge of making sure their visitor experience works well for every device and Internet connection, especially when it comes to mobile visitors. Not only must you build a website that will display well on desktops, tablets and smartphones, you must also take into account a wide range of connection speeds in determining how best to serve your content.

Cloudflare has developed Mirage to make it easy to deliver a faster experience for your web visitors. It:

  • Delivers your content the fastest way possible using visitor profile information.
  • Reduces image loading time by streamlining all requests into one.
  • Requires no hardware or software and can be enabled with a single click.

Mirage comes free with Cloudflare’s Pro, Business, and Enterprise plans.

Contact Our Team
Singapore callers: +65 3158 3954
International callers: +1 (650) 319 8930

Delivers Your Content the Fastest Way Possible Using Visitor Profile Information

Cloudflare gathers information from your web visitor such as type of device and connection speed and uses it to determine how to best deliver content from your web page. The same way Cloudflare uses data about security threats to protect the sites on our network, we use information about real users’ browsers around the world to ensure everyone on the Cloudflare network has the fastest possible site.

When Cloudflare detects a mobile device on a mobile connection, it uses Mirage to ensure better performance. For example, an iPhone connecting to the web over a cellular network is optimized for different loading priorities than a desktop (or even the same iPhone) connecting over WiFi. Mirage was specifically designed to help you serve web visitors using a range of mobile devices on cellular networks.

Speeds Up Visitor’s Ability to Engage With ‘Virtualized’ Image Technique

Mirage starts with the idea of image virtualization, storing two versions of a cached image. The first version is the full-resolution image. The second version is a ‘virtualized’ image that includes meta data but is massively reduced in size, typically to as little as 1% of the size of the first one.

With Mirage enabled, Cloudflare will serve the virtualized images asynchronously so your web visitors can begin to interact with the web page as the rest of the page loads - think of it as a fully-functional placeholder for the full-resolution version (‘lazy loading’). Mirage can virtualize images served from your own domain as well as images served from third party domains such as Flickr or Imgur.

Reduces Image Loading Time by Streamlining All Requests Into One

Rather than initiating a new request for each image, Cloudflare serves all your Mirage-enabled images with a single request. (This feature uses the same mechanism we created for Rocket Loader, our JavaScript performance accelerator.) The result of these improvements means that even a page with hundreds of images can begin to be seen in the browser with as few as two requests. Mirage works well for websites where image content is a key part of the webpage.

Requires No Hardware or Software and Can Be Enabled With a Single Click

Mirage is a feature of Cloudflare’s Pro, Business, and Enterprise plans, which make websites faster, safer and smarter. To enable Mirage (and any of our features), you simply need to turn it on. There is no hardware or software to install or maintain.

Faster, Safer, and Smarter

Cloudflare can protect your website, make it run faster and improve availability with a simple change in DNS. We have re-thought the entire technology stack through the network, hardware and software layers, building out a reverse proxy service on a highly-available global network. Learn more about our global network.

Designed With Mobile Visitors in Mind

For mobile devices and connections, faster web performance can be even more of a challenge than for visitors using a desktop device over WiFi. With mobile, you need to look at the content on the page, how the content is delivered and a visitor’s connection speed.

Since mobile devices rely on mobile networks, the bandwidth to a mobile phone or tablet is often slow. The network latency for each request can be very high and extremely variable. Also, there is no guarantee that once a connection has been established that it will be consistent. For example, a mobile visitor could be walking into a tunnel while accessing your site or moving from a 4G to a roaming connection. Mobile connections are also more likely to experience “loss.” To optimize for mobile performance you need to prioritize the most important data and download it first. You also need to minimize the number of individual connections to limit the impact of packet loss.

Mirage solves for all those problems and works well in conjunction with some of our other features such as Polish and Rocket Loader that are focused on increasing performance for visitors to your desktop website. Polish optimizes images (both ‘lossy’ and ‘lossless’ are supported). Rocker Loader streamlines multiple website requests into one (3rd party widgets, ad servers, etc) to speed the performance of the overall page.

You can also make it easy for mobile visitors to reach your mobile-specific site with Cloudflare’s URL re-direct feature. You can turn the feature on/off with the click of a button and can customize the URL path to meet your needs.

Cloudflare makes it easy to set-up a mobile re-direct.

Setting Up Cloudflare Is Easy

Set up a domain in less than 5 minutes. Keep your hosting provider. No code changes required.

Cloudflare Pricing

Everyone’s Internet application can benefit from using Cloudflare.
Pick a plan that fits your needs.

Free $ 0 /mo per website
Expand to see more
For personal websites, blogs, and anyone who wants to explore Cloudflare.

Learn More

The Free Plan includes all of these features:
  • Limited DDoS protection
  • Global CDN
  • Shared SSL certificate
  • 3 page rules
Compare all features
PRO $ 20 /mo per website
Expand to see more
For professional websites, blogs, and portfolios requiring basic security and performance.

Learn More

The Pro Plan includes all of these features:
  • Basic web application firewall (WAF) with Cloudflare rulesets
  • Image optimizations with Polish™
  • Mobile optimizations with Mirage™
  • I'm Under Attack™ mode
  • 20 page rules
Compare all features
BUSINESS $ 200 /mo per website
Expand to see more
For small eCommerce websites and businesses requiring advanced security and performance, PCI compliance, and prioritized support.

Learn More

The Business Plan includes all of these features:
  • Advanced DDoS protection
  • Advanced web application firewall (WAF) with 25 custom rulesets
  • Custom SSL certificate upload
  • PCI compliance thanks to TLS 1.2 only mode and WAF
  • Accelerate delivery of dynamic content with Railgun™
  • Prioritized support
  • 50 page rules
Compare all features
Enterprise contact us
Expand to see more
For companies requiring enterprise-grade security and performance, 24/7/365 emergency support, and guaranteed uptime across one or more Internet assets.

Learn More

The Enterprise Plan includes all of these features:
  • 24/7/365 enterprise-grade phone and email support
  • 100% uptime guarantee with 25x reimbursement SLA
  • Advanced DDoS protection with prioritized IP ranges
  • Advanced web application firewall (WAF) with unlimited custom rulesets
  • Multiuser role-based account access
  • Multiple custom SSL certificate uploads
  • Access to raw logs
  • Dedicated solution and customer success engineers
  • Access to China CDN points of presence (Additional Cost)
  • 100 page rules
Compare all features

Free

$ 0 / mo
 
For personal websites, blogs, and anyone who wants to explore Cloudflare.

Pro

$ 20 / mo
per domain
For professional websites, blogs, and portfolios requiring basic security and performance.
MOST POPULAR

Business

$ 200 / mo
per domain
For small eCommerce websites and businesses requiring advanced security and performance, PCI compliance, and prioritized support.

Enterprise

Contact Us
 
For companies requiring enterprise-grade security and performance, 24/7/365 emergency support, and guaranteed uptime across one or more Internet assets.

Trusted By

Learn more about Mirage in our San Francisco Marathon case study