Cloudflare Workers™ - Replace Varnish (VCL) with Flexible JavaScript

Run code at the edge, deliver powerful web extensibility
Icon Tile User
Deliver personalized user experiences

Deliver personalized user experiences
Cache lightweight static HTML pages at the edge while incorporating dynamic content based on user location, device type or time of day. Run multiple background service requests either to the origin or third party Internet domains.

Icon container
Increase API responsiveness

Aggregate responses from multiple API endpoints, and return as a single response, eliminating the need for each endpoint to compile individual responses. Each request can also be split into multiple parallel requests then combined into a single response.

Security bots
Detect bot activity

Build conditional responses for inbound requests that can assess and block malicious bots from completing their requests. Set parameters that can identify and authorize legitimate traffic.

Multiple Users - Orange
Simplify A/B testing

Enable randomized page selection by intercepting inbound HTTP requests and serving content requests at the edge to specific control and test groups.

Get Workers now

Select your job level... *
C-Level
VP
Director
Manager
Individual Contributor
Student
Other
Select your job function... *
IT
Security
Network
Infrastructure
Engineering
DevOps
Executive
Product
Finance/ Procurement
Sales / Marketing
Student
Press / Media
Other
Select your country...
Afghanistan
Aland Islands
Albania
Algeria
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
Armenia
Aruba
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia, Plurinational State of
Bonaire, Sint Eustatius and Saba
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo, the Democratic Republic of the
Congo
Cook Islands
Costa Rica
Cote d'Ivoire
Croatia
Cuba
Curaçao
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guatemala
Guernsey
Guinea-Bissau
Guinea
Guyana
Haiti
Heard Island and McDonald Islands
Holy See (Vatican City State)
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iran
Iraq
Ireland
Isle of Man
Israel
Italy
Jamaica
Japan
Jersey
Jordan
Kazakhstan
Kenya
Kiribati
Kuwait
Kyrgyzstan
Lao People's Democratic Republic
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macao
Macedonia, the former Yugoslav Republic of
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Moldova, Republic of
Monaco
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
North Korea
Norway
Oman
Pakistan
Palestine
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russian Federation
Rwanda
Saint Barthélemy
Saint Helena, Ascension and Tristan da Cunha
Saint Kitts and Nevis
Saint Lucia
Saint Martin (French part)
Saint Pierre and Miquelon
Saint Vincent and the Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Singapore
Sint Maarten (Dutch part)
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia and the South Sandwich Islands
South Korea
South Sudan
Spain
Sri Lanka
Sudan
Suriname
Svalbard and Jan Mayen
Swaziland
Sweden
Switzerland
Syria
Taiwan
Tajikistan
Tanzania, United Republic of
Thailand
Timor-Leste
Togo
Tokelau
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
Uruguay
Uzbekistan
Vanuatu
Venezuela, Bolivarian Republic of
Viet Nam
Virgin Islands, British
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zimbabwe

 
In submitting this form, you agree to receive information from Cloudflare related to our products, events, and special offers. You can unsubscribe from such messages at any time. We never sell your data, and we value your privacy choices. Please see our Privacy Policy for information.

Key Features

  • High-performance V8 JavaScript Engine
  • Securely sandboxed
  • Fast startup times at all locations
  • Fast key-value storage with Cloudflare Workers KV
  • Custom logic expressions for routing and caching at the edge
  • Based on the web standard Service Workers API
  • Prescripted deployment recipes
  • Deployed across Cloudflare's %DataCenterCount%-city network within minutes
  • Workers WebAssembly Support

What our customers are saying

woman holding laptop
npm logo for testimonial

"With Workers we’ve been able to push routing and caching to the edge, allowing us to scale further while improving npm's performance for millions of developers. Migrating away from VCL means we can spend more time in JavaScript, which we love."

-Laurie Voss
Co-founder and Chief Data Officer at npm

What our customers are saying

Man on laptop
maxmind logo for testimonial

"Cloudflare Workers saves us a great deal of time. Managing bot traffic without Workers would consume valuable development and server resources that are better spent elsewhere."

-John Thompson
Senior System Administrator at MaxMind

Trusted by millions of internet properties