We have page rules, transform rules and settings menu here.
let us control which Cloudflare settings trigger on a given URL. It works only on basis of URL. Only one Page Rule will trigger per URL. If there are more than 1 rule then rule will only apply who has high priority.
We can set page rules here like -
1) Adding a redirect
2) Adding a browser cache time TTL
and so on.
: The page rules are mostly used for and . We don't have to worry about any rule setting here. We can set a url redirect stuff here if needed. We are going to use a cloudflare plugin that will automatically set up default settings in cloudflare for performance and security. We have to just click This are default settings automatically done https://support.cloudflare.com/hc/en-us/articles/227342487
2) Cache level for a site.
2) are used to transform the traffic. It allow us to make adjustments to incoming requests at the edge before they go through any other Cloudflare products.
For example - We can make a redirect to a site here on basis of country,continent,host,IP etc.
3)
a) Normalize incoming URLs - Configures the URLs of all incoming traffic to Cloudflare:
- When set to On (default), all incoming URLs are normalized before they pass to subsequent Cloudflare features that can receive a URL as input, such as Page Rules, Firewall Rules, Workers and Access.
- When set to Off, incoming URLs are not normalized before passing to subsequent Cloudflare features.
Suppose this is an url - www.example.com/%68ello
If Normalize incoming URLs is , cloudflare will recieve the URL as - www.example.com/hello
If Normalize incoming URLs is , cloudflare will recieve the URL as - www.example.com/%68ello
b) Normalize URLs to origin - Configures URLs that are sent to the origin:
- When set to On, requests sent to the origin are normalized.
- When set to Off (default), requests sent to the origin are not modified
Suppose this is an url - www.example.com/%68ello
If Normalize URLs to origin is , origin server will recieve the URL as - www.example.com/hello
If Normalize incoming URLs is , origin server will recieve the URL as - www.example.com/%68ello