cloudflare · Cloudflare Workers Docs
Workers Page Rules
Explains the execution order and interaction between Cloudflare Workers and Page Rules, specifically detailing which Page Rule features are disabled when a request matches a Worker route.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Page Rules
Explains the execution order and interaction between Cloudflare Workers and Page Rules, specifically detailing which Page Rule features are disabled when a request matches a Worker route.
When To Use
Use when you need to troubleshoot why specific Page Rules are not triggering for requests handled by a Worker or when designing a request flow that relies on both Workers and Page Rule features.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-configuration-with-page-rules-workflow-guide.md | Documentation explaining how to configure and apply page rules to Cloudflare Workers requests. | Questions about documentation explaining how to configure and apply page rules to Cloudflare Workers requests. |
What This Skill Covers
- Page Rules trigger certain actions whenever a request matches one of the URL patterns you define. You can define a page rule to trigger one or more actions w...
- Main sections:
Page Rules with Workers,Affected Page Rules,Always Use HTTPS,Automatic HTTPS Rewrites,Browser Cache TTL.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/configuration/workers-with-page-rules
