Adding Cloudflare’s free plan in front of a VPS is one of the highest-impact upgrades for DNS speed and DDoS protection—yet many WordPress owners expect Time to First Byte (TTFB) to drop instantly only to find dynamic pages still hitting their origin server on every visit.
Understanding what Cloudflare caches out of the box versus what your origin VPS must cache solves both performance bottlenecks and common plugin conflicts.
What Cloudflare Free Caches by Default (and What It Skips)
With standard proxy settings enabled (orange cloud), Cloudflare automatically caches static file extensions—CSS, JavaScript, images (.jpg, .png, .webp, .svg), and fonts—at edge PoPs close to visitors. That cuts bandwidth load on your VPS dramatically.
However, Cloudflare does NOT cache HTML pages by default. Every request to / or a blog post URL still travels from Cloudflare’s edge back to your VPS, executes PHP, and queries MariaDB unless your origin server or a cache rule handles page caching.
| Layer | What It Accelerates | Default Behavior |
|---|---|---|
| Origin Page Cache (WP Super Cache / Nginx FastCGI) | HTML document generation (TTFB) | Must be configured on WordPress / Nginx |
| Cloudflare Free CDN (Default) | Images, CSS, JS, fonts globally | Automatic when orange cloud proxy is ON |
| Cloudflare Cache Rules (Careful Config) | Edge HTML caching for anonymous visitors | Requires bypass rules for /wp-admin & logged-in cookies |
Origin VPS Caching: Why You Still Need It
Even with Cloudflare active, enabling page caching on WordPress (such as WP Super Cache static HTML files or Nginx FastCGI cache) drops origin PHP execution from 300–600 ms down to under 20 ms. A clean 2 GB RAM VPS with origin page caching easily handles sudden traffic spikes without spiking CPU.
3 Common Cloudflare Mistakes That Break WordPress or AdSense
1. Using “Flexible” SSL Mode
If your VPS already has Let’s Encrypt HTTPS enabled (which redirects HTTP to HTTPS) and Cloudflare SSL/TLS is set to Flexible, Cloudflare talks to your VPS over port 80, creating an infinite ERR_TOO_MANY_REDIRECTS loop. Always set SSL/TLS mode to Full (strict) when your origin has a valid certificate.
2. Enabling Rocket Loader with Ad Scripts
Cloudflare Rocket Loader rewrites JavaScript execution order asynchronously. While intended for legacy sites, it can interfere with modern deferred scripts, analytics, and ad-network snippets. Leave Rocket Loader OFF on modern lightweight themes.
3. Caching Logged-In Admin Pages
If you create aggressive “Cache Everything” rules without bypassing cookies (wordpress_logged_in_*, wp-admin, wp-login.php), visitors may see cached admin toolbars or stale previews.
Recommended Production Setup
- Keep WordPress lightweight with an origin page cache plugin (like WP Super Cache).
- Enable Cloudflare orange-cloud proxy for DNS + static asset edge caching + bot/DDoS protection.
- Set Cloudflare SSL/TLS to Full (strict) and keep Rocket Loader disabled.