I’ve noticed in the past year that my site speed while on CloudFlare has depreciated greatly.
I discovered this article about shared hosting and cloudflare minimize redirects issue. It is solved by pausing cloudflare or going into Development mode.
Apparently Cloudflare are working on it but the consensus is not to hold one’s breath.
So I’d like to know if the following is possible and will it work to prevent the minimize redirects?
Can I only enable cloudflare caching on one directory? I have .html and wordpress pages and would like caching only available on the wordpress directory and not the html directories (they load fast and are dramatically slowed by cloudflare on this issue)
I use Cloudflare SSL
My directory structure is like this:
www.example.com/catergory/page.html (this is a directory I don’t want to cache)
www.example.com/catergory/categoryagain/page.html (this is a directory I don’t want to cache)
www.example.com/blog/blogpost/ (this is the directory I want to cache)
Using pagerules I “think” I need the following
Or do I make the following page rule
[adding static=true query parameter]
(this bypasses all html files)
And then select Cache everything which will cache all wordpress php files?
Would I be correct in one of the above or will this not help with the minimise redirects as described in the linked post at the top? They said “pause cloudflare” and the issue will stop — I’ve confirmed this and am presuming the issue is caching? Maybe I’m wrong and there’s another way to stop this?