I have several Wordpress sites now running through Cloudflare Free. I installed the Cloudflare plugin, applied defaults, enabled automatic caching, and set CF to respect existing headers. I’m also running Hummingbird in Wordpress for page caching. Various web page speed tests suggest I’m caching at 100% on my JS/CSS/Images, but I’m seeing two problems:
In Cloudflare analytics, my cached rate is running at only .5%-1.5% even after letting it run for days.
My JS/CSS/Images are showing only one cache-control header (which corresponds to what I set in my htaccess), but, for the static HTML files generated by Hummingbird, I’m seeing two cache-control headers:
cache-control: max-age=3600, must-revalidate
cache-control: max-age=31536000 (this is from my htaccess)
When I turn on Cloudfare Dev mode, the first cache-control header goes away.
I currently have no page rules set.
How do I get Cloudflare to respect existing headers on static HTML and not issue a second cache-control directive? I don’t think that alone is causing my poor cached rate in Cloudflare, but I don’t think it’s helping my performance because I think the 3600 seconds is winning out, even though Cloudflare’s documentation says it won’t.
Any help would be appreciated!