Fastly How-To Guides and Tutorials

Explore step-by-step tutorials, implementation guides, and technical how-to articles designed to help you get the most out of Fastly products, services, and solutions. Whether you're deploying a CDN, configuring a WAF, managing bots, securing APIs, improving website performance, or building at the edge, you'll find practical guidance for every stage of implementation. Learn how to accelerate content delivery, strengthen application security, improve reliability, reduce latency, and deliver better digital experiences safely with Fastly.

Learning Center Articles

How to stop a DDoS attack

Learn how to recognize, prepare for, and stop DDoS attacks before they disrupt your business.

How to measure performance when using a CDN?

Learn how to measure CDN performance using metrics like response time, bandwidth, error rate, page load time, and content delivery time.

How to stop bot attacks: Guide to bots, bot attack types and how to stop them

Learn how to identify good and bad bots, understand common bot attack types, and protect your applications from unwanted automated traffic.

How to ensure compliance with GDPR requirements for data privacy

Learn how to approach GDPR compliance by understanding core privacy requirements, data protection obligations, and practical strategies for protecting personal data.

Blogs

Using cURL to Test Origin Server Responses

Learn how to use cURL to test origin server responses and troubleshoot routing, DNS, TLS, request headers, and response headers.

ETags: What they are, and how to use them

Learn how to use ETags to validate cached resources, improve browser caching, and reduce unnecessary origin traffic.

Bot Protection: Guide to bots, bot attack types and how to stop them

Learn how to build a bot protection strategy that distinguishes useful automation from malicious bots.

How to Control and Monetize AI Bot Traffic Using Fastly and TollBit

Learn how to control and monetize AI bot traffic using Fastly AI Bot Management and TollBit.

How to configure your Fastly services with Terraform

Learn how to configure, manage, and deploy Fastly services with Terraform using infrastructure-as-code workflows.

How to Deploy Fastly’s Next-Gen WAF in less than 10 minutes

Learn how to deploy Fastly’s Next-Gen WAF at the edge with Terraform in under 10 minutes.

How to Reduce Egress Traffic Costs with a CDN

Learn how to reduce origin egress traffic costs by improving CDN cache efficiency and increasing origin offload.

Suggestive signals: how to tell good bot traffic from bad

Learn how to separate good bot traffic from bad bot activity by looking for suggestive signals in web and API traffic.

How to write Rust unit tests for your Compute application

Learn how to write Rust unit tests for a Fastly Compute application using local development tools like Viceroy and cargo-nextest.

Documentation

Redirects

Learn how to move URL redirects from your origin infrastructure to the Fastly edge using VCL and dictionaries.

Serving Stale

Learn how to serve stale content from cache when your origin is unavailable or experiencing errors.

Deliver your site through Fastly

Learn how to deliver a website through Fastly's CDN with caching, origin configuration, and performance optimization.

Getting started with Fastly

Learn how to get started with Fastly by creating a service, configuring an origin, and delivering content through the CDN.

JSON Web Tokens

Learn how to use JSON Web Tokens (JWTs) with Fastly to authenticate requests and protect application resources.

Using Next-Gen WAF in Compute

Learn how to deploy and integrate Fastly Next-Gen WAF with Compute applications.

Stateful waiting room

Learn how to build a virtual waiting room that controls traffic during periods of high demand.

Geofencing

Learn how to restrict or allow access to content based on a visitor's geographic location.

Build a team API reference

Learn how to use Fastly's security APIs to create and manage teams programmatically.