# MarfeelCDN

A CDN (Content Delivery Network) is a system of distributed servers that deliver pages and other Web content to a user. The content delivery server varies based on the geographic locations of the user and the origin of the webpage.

This service is effective in speeding the delivery of content of websites with high traffic and websites that have a global reach. The closer the CDN server is to the user geographically, the faster it delivers content to the user. CDNs also protect from large surges in traffic.

World map with CDN servers

# Server-side detection

MarfeelCDN enables server-side detection. In server-side device detection, the HTTP headers that browsers send as part of every request they make are examined and are usually sufficient to uniquely identify the browser or model and, hence, its properties. The most important HTTP header used for this purpose is the user-agent header. This feature is key from the velocity and quality point of view.

When a user accesses a website, depending on the device they are using, one version of the site (the desktop version or the mobile version) must be rendered. MarfeelCDN detects devices on the server-side.

This means that it chooses the best version to display to the user on the first roundtrip and pushes it "down the wire", saving several seconds of loading time. This feature gets Marfeel closer to our goal of 0.7s and avoids two entire round trips, saving you crucial time before the session starts.

Additionally, moving the activation logic from JavaScript to the server also avoids sending unnecessary and unoptimized assets meant for desktop.

# Google Speed test

See the difference before/after Marfeel's infrastructure changes with Google's free online tool, testmysite.withgoogle.com (opens new window).

Speed alone, however, isn't enough. Marfeel's Premium CDN Package isn't only about downloading the first byte as fast as hell: it's also about delivering a smooth UX and fluid interaction. To ensure that Marfeel delivers the smoothest UX possible, we use Google's Lighthouse test to continually assess our sites, where optimal scores can only be achieved by optimizing every aspect of the experience.