Compute
Learn how to use the Fastly Compute platform to implement solutions for your website.
This is a step-by-step tutorial that shows you how to use Compute, Fastly's serverless computing platform.
Use Fastly to give your users a better experience with edge computing.
You want to try out multiple variations of a page or a feature of your website, dividing your visitors into groups, some of whom experience one version, and some the other. Once a visitor is in one group, they should continue to get a consistent experience.
Learn how to store and retrieve key-value data at the edge by building a basic hit counter in a serverless Fastly Compute app.
The popular JSON Web Token format is a useful way to maintain authentication state and synchronize it between client and server. You are using JWTs as part of your authentication process and you want to decode and validate the tokens at the edge, so that content can be cached efficiently for all authentication states.
Your infrastructure consists of one or more REST APIs and you want to expose a unified GraphQL endpoint to fetch and cache data for your next-generation applications.
You need to fetch personalized data from external APIs and serve it to the user without a full web stack.
Share your website with the world without needing a host.
Use ratecounters and penalty boxes to stop high-volume automated attacks against your website.
You need to fetch data from external APIs and add extra headers with additional useful information to the origin
You have regular large volumes of traffic and need to limit the rate at which users can start new sessions. Once a user has been allowed in, they should retain access.