Cloudflare

The most programmable Supercloud with Cloudflare Snippets

Nov 17, 2022Sam Marsh
The most programmable Supercloud with Cloudflare Snippets
SummaryAI, from the source post

Introduced Cloudflare Snippets, a new feature integrated into the Ruleset Engine, allowing users to execute small code snippets (JavaScript, VCL, .htaccess) for traffic modifications. Snippets have a 5ms execution time, 2MB memory limit, and 32KB package size, and are available at no additional cost for most plans. They can be triggered by Ruleset Engine filters and run alongside other rules. Snippets are designed for simpler use cases than Cloudflare Workers, such as header modification, URL rewriting, and traffic routing, and include migration tools for VCL and .htaccess files.

More from the Edge Computing with Cloudflare Workers trail