Cloudflare Free CDN Setup for WordPress India 2026 — Step by Step
By HostStack Editorial · · All posts
Cloudflare's free plan puts edge servers in Mumbai, Delhi, Bengaluru, Chennai, Hyderabad and more. For Indian WordPress sites, this means images and static files load from a server a few milliseconds away instead of your hosting origin. Setup takes 15 minutes.
Step 1: Add your site to Cloudflare
- Go to cloudflare.com and create a free account
- Click Add a Site and enter your domain (e.g. yourbusiness.in)
- Select the Free plan and click Continue
- Cloudflare scans your existing DNS records — review them and confirm they are correct
- Cloudflare gives you two nameservers (e.g.
alice.ns.cloudflare.com)
Step 2: Change nameservers at your registrar
Log into your domain registrar (GoDaddy, BigRock, NameCheap, etc.) and replace the current nameservers with Cloudflare's two nameservers. DNS propagation takes 15 minutes to 2 hours for most Indian registrars.
Step 3: Set TLS mode to Full (Strict)
In Cloudflare → SSL/TLS → Overview → set to Full (Strict). This requires a valid SSL certificate on your hosting server. HostStack AutoSSL provides this automatically. Never use Flexible mode — it sends unencrypted traffic between Cloudflare and your server.
Step 4: Enable Speed optimizations
In Cloudflare → Speed → Optimization: enable Auto Minify for JavaScript, CSS, and HTML. Enable Brotli compression. These reduce file sizes by 15-30% with zero configuration changes to your site.
Step 5: Exclude WooCommerce pages from cache
If you run WooCommerce, add Cache Rules (or Page Rules on free plan) to bypass cache for dynamic pages:
- URL contains
/cart/→ Cache: Bypass - URL contains
/checkout/→ Cache: Bypass - URL contains
/my-account/→ Cache: Bypass - Cookie contains
woocommerce_→ Cache: Bypass
Step 6: Purge cache after WordPress updates
After publishing new content or updating plugins, go to Cloudflare → Caching → Configuration → Purge Cache → Purge Everything. This forces Cloudflare to fetch fresh content from your origin server. Consider installing the Cloudflare WordPress plugin to auto-purge cache on new posts.
Measuring the improvement
Test before and after with GTmetrix (set test location to Mumbai, not Dallas). Compare TTFB (Time to First Byte) and Total Page Size. Most Indian sites see 30-60% improvement in load time for returning visitors. First-visit improvement is less dramatic as cache is cold.
Frequently asked questions
Is Cloudflare free plan enough for an Indian WordPress site?
Yes. Free plan includes Mumbai/Delhi/Bangalore CDN edges, free SSL, basic DDoS protection, and minification. Sufficient for most Indian business and blog sites.
Does Cloudflare break WooCommerce?
Only if cache rules are too aggressive. Exclude /cart/, /checkout/, /my-account/ from caching using Cloudflare Page Rules. See Step 5 above.
What TLS mode should I use in Cloudflare?
Full (Strict). This encrypts both connections (visitor-Cloudflare and Cloudflare-origin). Requires a valid SSL certificate on your origin server, which HostStack provides free via AutoSSL.