Table of Contents
How CDN Works
When a visitor in Delhi accesses your website hosted in Mumbai, the request travels through multiple network hops. A CDN has points of presence (PoPs) in major cities — Delhi, Bengaluru, Chennai, Hyderabad — that cache static files (images, CSS, JavaScript) locally. The visitor receives these files from the nearest PoP rather than your origin server.
Setting Up Cloudflare Free CDN
- Sign up at cloudflare.com and add your domain
- Change your domain's nameservers to Cloudflare's
- Enable orange-cloud (proxy) for your A and CNAME records
- Enable Caching — set Browser Cache TTL to 1 year
- Enable minification for JavaScript, CSS, and HTML
Cache Rules for WordPress
Bypass cache for: logged-in users (cookie wp-logged-in), cart and checkout pages, admin pages. Cache everything else with a 1-day TTL minimum.
FAQ
Does using a CDN affect my server hosting costs?
A CDN reduces bandwidth consumption from your origin server by serving cached content from edge nodes. This typically reduces your server's bandwidth usage by 60-80%.
Ready to deploy?
Host on India-Local Infrastructure
Power Down Mumbai VPS delivers sub-5ms latency to Indian visitors without CDN overhead.
