Sitefinity Cloud leverages a custom-developed Cloudflare worker function that supports customizable edge rules.
Custom rules meeting the following criteria can be added directly to the CDN edge:
- URL or URL component (e.g., pathname, query) matches a regex
- IP is part of a safelist or blocklist
- Request header value matches a regex
- Response status code matches a regex
These rules can be used to configure the following actions:
- Redirect
- Rewrite
- Transform the URL (e.g., replace all occurrences of '+' with '-')
- Set custom response headers
- Set custom response cookies
- Customize CDN cache (e.g., bypass the cache or set mandatory cache duration)
- Use custom origin