WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Fastly v1.2.29

Fastly

Integrates Fastly with WordPress publishing tools. This is the official Fastly plugin for WordPress. The official code repository for this plugin is a …

Fastly

The facts

Rating
5★ from 1
Active installs
1k+
Price
Free
Last updated
16 Oct 2025
Added
Jul 2012
Requires WP
4.6.2
Tested up to
WP 6.8.0
Downloads
110,771

Our analysis

AI-assisted

Fastly is a WordPress plugin designed to integrate with the Fastly CDN service. It allows you to automate content purging when changes are made to your WordPress site, eliminating the need for manual intervention. The plugin also includes features for customization and image optimization, which require separate activation and pricing.

Best for: This plugin is suitable for WordPress users who utilize Fastly for CDN services and want to streamline content management.

What it does well

  • Automates content purging in Fastly
  • Includes an admin panel in WordPress
  • Integrates advanced purging options from Fastly API
  • Supports Edge Modules for additional functionality

Where it falls short

  • Requires a Fastly account and API token
  • Image optimization feature is separately contracted
  • May need to disable other caching plugins

Verdict

Fastly offers useful automation for users of the Fastly CDN, but it requires some setup and external account management.

From the developer

Fastly's own description of Fastly, lightly tidied.

Installation:

You can either install from source (you\’re looking at it), or from the WordPress plugin directory.

  1. To proceed with configuration you will need to sign up for Fastly and create and activate a new service (unless you already have one). Details of how to create and activate a new service can be found here. You will also need to find your Service ID and make a note of the string.
  2. You will need to create an API token with the Global API access option selected. Click here for token management screen.
  3. Set up the Fastly plugin inside your WordPress admin panel
  4. In your WordPress blog admin panel, Under Fastly->General, enter & save your Fastly API token and Service ID
  5. Verify connection by pressing TEST CONNECTION button.
  6. In order to get the most value out of Fastly we recommend you upload VCL snippets from https://github.com/fastly/WordPress-Plugin/tree/master/vcl_snippets. These snippets will add code for following

– Force certain paths to be passed (not cached) e.g. wp-admin, wp-login.php
– Makes sure that logged in user sessions are never cached
– Handling for serving stale on error

You can upload them by hand or press Update VCL button in the UI.

For more information, or if you have any problems, please email us.

Note: you may have to disable other caching plugins like W3TotalCache or WP Rocket to avoid getting odd cache behaviour.

  • Pulls in the Fastly API
  • Integrates purging in post/page/taxonomies publishing
  • Includes an admin panel in wp-admin
  • Integrates some of the advanced purging options from Fastly API
  • Allows to monitor purging using webhooks for slack

Using this plugin means you won’t have to purge content in Fastly when you make changes to your WordPress content. Purges will automatically happen with no need for manual intervention.

Customization

Edge Modules

Edge Modules are a framework that enables specific functions to be enabled on Fastly Edge without
the need to write VCL. Current list of functions that can be included includes

  • Enable Blackfire metrics and tracing
  • Set CORS headers
  • Enable support for bot detection partners such as Datadome/Netacea
  • Redirect one domain to another e.g. domain.com => www.domain.com
  • Rewrite URLs going to a backend e.g. /sitemap.xml => /media/sitemap.xml
  • Domain masking an external backend/origin

More details can be found at https://github.com/fastly/WordPress-Plugin/blob/master/EDGE-MODULES.md

Image optimization

Image Optimization is a separately contracted feature. Please contact support@fastly.com to request
pricing and activation.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)