How to enable Cloudflare caching of images and css only (exclude .js files and admin area)

I used page rules. I’m still testing but will update this post with more details if I see no conflicts or issues after a month of using.

If this works, I plan to modify rules more extensively to cache only some of the .js files and exclude specific ones.

Edit: no issues thus far. You can get a feel for the speed by visiting the forums. Hosted with stacklinux.com (3.5GHz cores + NVMe @ 2G/s + 3GB memory).

4 Likes