Is there anyway to create a page rule to cache everything but not dynamic pages for WOO with 3 page rules? Because I don’t have “Bypass Cookies” option as below link:
Cloudflare already caches everything reasonably possible on a dynamic page site such as WooCommerce. But you can emulate the “Bypass Cookies” option with Cloudflare Workers and a WordPress plugin:
Removing the two you listed would be a good idea. Especially since the first rule will cache wp-admin and the second rule won’t count after the first rule takes effect.
The link I posted is worth a solid read if you want to pursue this.
Sound good, so I create workers and run test on Cloudflare itself, not using any plugins, and the test says it runs “OK”.
I used pingdom to test, not sure what I should look for to make sure everything works like it should be, do you have any experience with it? like what to look for to make sure Worker worked and that everything with static pages are cached appropriately.
Sorry, one more question actually, I used siteground and activated Cloudflare from there, does it matter if I need plugin then? I was afraid too many plugins would increase page load time.
The reason I asked is because I used pingdom to test page speed. The first time was 8 secs, then subsequent time tested, it went down to 3.8 secs on average. Does this mean this worked now?
The only Page Rule you might consider from that article would be for Security Level (High) for wp-login.php to help fight off bots. And since you’re running WordPress, if you don’t already have a security plugin, I highly recommend Wordfence. It does a good job of blocking brute force attacks and site hacking.
Your rule match only needs to be *wp-bullet.com/wp-login.php*
You can leave off the scheme, so the match will apply to http/s, and the leading * handles any possible subdomains, such as www. I’m also recommending the trailing * in case someone tries to add a query string to bypass enhanced security.