Configure Fastly on Magento 2

The first impression of a website is its load time. To improve page load time CDN services plays an important role. People may know about CDN or not but every internet users interact with CDN now-a-days. CDN serves a large portion of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, and social networks.

What is CDN

CDN stands for Content Delivery Network. CDN is a geographically distributed network of proxy servers and their data centers. Which means CDN minimizes the distance between the visitor and the web server, so the download latency is reduced. Also it serves a cached version of contents to the users of different locations.
figure-1: CDN working principle

There are couple of CDN service providers MaxCDN, CloudFlare, Amazon CloudFront, Akamai etc. Recently one of the most popular CDN service is Fastly. Fastly, offers high speed as it employs SSD disks in their cache servers to fetch content. Also it provides Reverse Proxing, Load balancing, Header support, Origin shielding, Instant Purge support, HTTP request fulfillment and more.

Magento & Fastly

Magento is one of the best e-commerce platforms with the striking features like scalability, flexibility, robustness, customization and user-friendliness along with these using CDN service Fastly will drive your store into next level of business. Therefore, it becomes essential for store owners to look for the ways to enhance the speed and performance of the website. I have divided the whole process into two sections Firstly-side configuration and Magento-side configuration.

Continue reading Configure Fastly on Magento 2