Tutorials

These articles and step-by-step tutorials present essential concepts and introduce Fastly products and services.


Introduction to Fastly's CDN

This is a step-by-step tutorial that shows you how to use Fastly with an example website and domain name. It guides you through the steps of caching and delivering a static website using the Jekyll static site generator, Amazon AWS, and the Fastly CDN.

If you own a website or application, you need to find the best way to deliver it to users. Using a content delivery network (CDN) can…

Read more

Let's get started by creating a Fastly account and logging in to the Fastly web interface. We can sign up for a trial account — no credit card information is required.

Read more

In this section, we'll explore some of the edge features available to our Fastly service. For example, we'll configure Fastly to serve synthetic responses to certain types of requests, enable compression of our assets, and configure a streaming logging endpoint so we can see who's visiting our website.

Read more

When it comes to caching your website or web application's content, Fastly provides a wide variety of options. Fastly caches most content by default, but most people will want or need to customize their caching settings. You have complete control over what content is cached, and for how long that content is cached.

Read more

We've done a lot of work to prepare our Fastly service for the Taco Labs website! Now it's time to put the finishing touches on things so we can go live and start using Fastly for our production website.

Read more

In this section, we’ll provide some tips and tricks for dealing with those day-to-day website issues and headaches that come with the territory. Call it advanced configuration. We’ll talk about using custom VCL to add redirects, using the API to purge the cache, and purging with surrogate keys.

Read more

That’s a wrap! We’ve successfully started using Fastly to cache our static website. Go ahead, visit https://www.tacolabs.com — or whatever domain name you’ve been using to follow along with — and marvel at how fast the site loads. And give yourself a pat on the back for doing all of the legwork!

Read more

Introduction to Fastly Image Optimizer

This is a step-by-step tutorial that shows you how to set up Fastly's Image Optimizer ("Fastly IO") for a real website. It builds on the concepts introduced in Introduction to Fastly's CDN, and it guides you through the steps of optimizing the images for Taco Labs, the static website we previously used as an example.

Images are an important part of your website or application. To ensure that your images load quickly, you should optimize each image for…

Read more

Let's get started by picking up where we left off in Introduction to Fastly's CDN . At that end of that tutorial, we had a fully-functional…

Read more

There are two ways Fastly IO can interact with our images. The first is by using the default settings we specify in the Fastly web interface…

Read more

We've enabled Fastly IO, configured the default settings, and verified that Fastly IO is automatically transforming all of the images on our…

Read more

That's it! We've successfully enabled and configured Fastly IO for Taco Labs. Go ahead, visit https://io.tacolabs.com — or whatever domain…

Read more

Introduction to Compute

This is a step-by-step tutorial that shows you how to use Compute, Fastly's serverless computing platform. It builds on the concepts introduced in Introduction to Fastly's CDN, and it guides you through the process of setting up dependencies, creating a Compute application, and deploying it to the edge.

Customers expect top-notch performance and interactivity from websites. Are your web applications up to the task? With Compute, Fastly's…

Read more

It's time to get started with Fastly's Compute platform. In this section, we'll walk through everything we need to start building and…

Read more

Recall that we created a static website called Taco Labs in Introduction to Fastly's CDN that we cached using a VCL service. In this…

Read more

Now that we've successfully chained our Compute service to our VCL service, we can start modifying our serverless application to add…

Read more

We've successfully started using the Compute platform to deliver our static website. At this point, you can visit https://compute.tacolabs…

Read more