2021 Cloudflare: Basic Pages Rules and Cache Levels, Standard and "Cache Everything"

Опубликовано: 10 Октябрь 2024
на канале: Become a Web Developer
11,180
62

A few points to remember when setting up your Cloudflare page rules:

1) The default cache level is set to "standard". The standard level does NOT cache dynamic page content found in either PHP or html pages (yes, sometimes html pages will be dynamically generated as well). So, if you need your users to get the dynamic aspect of the page directly from the server you need to keep the "cache level" setting to standard, not "cache everything."

2) If you choose the "cache level" of "cache everything" even dynamic pages will be cached. This means that your PHP front page that displays, for example, changing data, will no longer show different data to different users or on subsequent page requests. The WHOLE thing will get cached out on Cloudflare's hundreds of PoPs (Point of Presence).

Learn more here:
https://spryadmin.com/2021/09/05/exam...