Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rules] New templates for Transform Rules and Snippets #18481

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

nikitacano
Copy link
Contributor

Summary

Adding new templates:

  • Maintenance page (Snippets)
  • Custom cache (Snippets)
  • Rewrite site links in HTML (Snippets)
  • Add HEX timestamp as a request header (Snippets)
  • Rewrite path to object storage (Transform Rules)

Updating existing templates to use wildcard patterns:

  • Rewrite moved section (Transform Rules)
  • Rewrite path to archived posts (Transform Rules)

Copy link

cloudflare-workers-and-pages bot commented Nov 29, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: dd3546e
Status: ✅  Deploy successful!
Preview URL: https://56863dd1.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://rules-templates.cloudflare-docs-7ou.pages.dev

View logs

Copy link

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/rules/snippets/examples/maintenance/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/snippets/examples/maintenance/
https://developers.cloudflare.com/rules/snippets/examples/custom-cache/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/snippets/examples/custom-cache/
https://developers.cloudflare.com/rules/snippets/examples/rewrite-site-links/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/snippets/examples/rewrite-site-links/
https://developers.cloudflare.com/rules/snippets/examples/hex-timestamp/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/snippets/examples/hex-timestamp/
https://developers.cloudflare.com/rules/transform/examples/rewrite-path-object-storage/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/transform/examples/rewrite-path-object-storage/
https://developers.cloudflare.com/rules/transform/examples/rewrite-moved-section/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/transform/examples/rewrite-moved-section/
https://developers.cloudflare.com/rules/transform/examples/rewrite-path-archived-posts/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/transform/examples/rewrite-path-archived-posts/
https://developers.cloudflare.com/rules/snippets/examples/redirect-forbidden-status/ https://rules-templates.cloudflare-docs-7ou.pages.dev/rules/snippets/examples/redirect-forbidden-status/

@pedrosousa pedrosousa enabled auto-merge (squash) November 29, 2024 14:06
@pedrosousa pedrosousa merged commit fa1880b into production Nov 29, 2024
12 checks passed
@pedrosousa pedrosousa deleted the rules-templates branch November 29, 2024 14:20
harshil1712 pushed a commit that referenced this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:rules Related to rules size/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants