Learn to build on the Fastly platform
Fastly offers two types of edge services: highly performant and configurable services powered by Fastly VCL, and next generation Wasm-powered Compute@Edge services:
|Availability||General availability||Limited availability|
|Invocation||Fastly invokes your code at multiple predefined points in the request-response cycle||Your code handles the entire request-response cycle|
Per-response cache settings
|General purpose compute|
Parsing and serialization
|Learn more >||Learn more >|
Whichever service type you choose, many concepts are common. And while not all Fastly features are supported by Compute@Edge yet, many more will be added in the coming months as we move towards general availability.
Domains are hostnames that point to your services on Fastly. Backends are hostnames that point to the origin servers hosting your application. Healthchecks are pre-configured requests that Fastly POPs should make, to your backends, to confirm that they are ready to receive end user traffic.
Domains, backends, and healthchecks can be configured in multiple ways:
|Using the ||fastly domain create||fastly backend create||fastly healthcheck create|
|Using the API||Create domain endpoint||Create backend endpoint||Create healthcheck endpoint|
|Using VCL||Cannot be managed in VCL||Part of a |
|Using the web interface||See Managing domains||See Managing origins||See Working with health checks|
Fastly respects the instructions you provide via HTTP headers such as Cache-Control. But you can also exert much finer-grained control over the way we load and cache your resources.
- Controlling cache freshness and TTL
- Deciphering cache hit and miss headers for shielded services
- Staleness and revalidation
- Request collapsing
- Segmented Caching
- HTTP/2 server push
- Protected headers
As well as serving content loaded from your origin, Fastly can also manipulate that content in useful ways, or even generate content from scratch without loading anything from your origin.
Learn how to configure Fastly to meet your security needs.
- Fastly IP ranges
- Web application firewall
- TLS options
- Detecting TLS connections
- Access Control Lists (ACLs)
Observability and debugging tools to help fix problems, test and monitor your Fastly services.