Visitors can browse a site at top speeds by integrating CloudFlare on your website. CloudFlare is a Content Delivery Network (CDN) that sends traffic via its global network which will automatically optimize the delivery of your site content. Today we would like to guide you on How to Implement AMP with CloudFlare in this guide.
Creating a Page Rule in Cloudflare:
Page rules will help you harden security, enhance performance, Improve User Experience and minimize bandwidth usage on your domain. Page Rules makes your site safer and faster, and you can use them to redirect all of your traffic to HTTPS, or to another domain. For using AMP with Cloudflare you have add Page Rule in Cloudflare, Just follow the below easy instructions for successful implementation
- Login to Your CloudFlare Account
- Navigate to Page Rules tab
- Click on
- Add URL pattern: *yourdomain.com/*/amp/
- Add A below Setting
- Disable Apps
- Disable Performance
- Keep SSL Full set as ON (If your site is not fully using SSL, then leave it at default)
Have you implemented AMP with Cloudflare? Let us know in the comment section below.