Last update at :2024-07-12,Edit by888u
CloudFlare only caches static resources by default. Dynamic resources are not cached by default. If your content is mostly static or you don't care about real-time updates, you can use CloudFlare's page rules settings to cache all content. Free users can set 3 page rules, and Pro users can use 30 rules.
1. Add new page rules.
2. Set the URL, and then select "Cache Everything" for "Cache Level". After setting, click "Save and Deploy"
Note: 1. Cache Level is the cache type, here it is "Cache Everything". 2. Edge Cache TTL is how often CloudFlare checks for updates from your origin server.
3. Set the background management to Bypass, otherwise you will not be able to enter the background. At the same time, put this rule in front of the previous rule (Cache Everything).
Reprinted from: https://www.moeelf.com/archives/22.html
Recommended site searches: Which foreign server is best to rent, Google's permanently free server, registration query network, registration-free virtual space, registration cancellation, free virtual host application, PHP space recommendation, Guangdong website registration, domain name resolution query, Singapore Server,
发表评论