PHPackages                             fastly/magento2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. fastly/magento2

ActiveMagento2-module

fastly/magento2
===============

Fastly CDN Module for Magento 2.4.x

1.2.240(2mo ago)1564.2M—6.1%125[28 issues](https://github.com/fastly/fastly-magento2/issues)[13 PRs](https://github.com/fastly/fastly-magento2/pulls)1BSD-3-ClausePHPPHP ~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0|~8.5.0CI passing

Since Mar 23Pushed 1mo ago60 watchersCompare

[ Source](https://github.com/fastly/fastly-magento2)[ Packagist](https://packagist.org/packages/fastly/magento2)[ RSS](/packages/fastly-magento2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (14)Versions (307)Used By (1)Security (1)

FASTLY CDN FOR MAGENTO2 DOCUMENTATION
=====================================

[](#fastly-cdn-for-magento2-documentation)

Thank you for using the "Fastly CDN module for Magento2" (Fastly\_Cdn).

This package contains everything you need to connect fastly.com (Fastly) with your Magento commerce shop and to get the most out of Fastly's powerful caching capabilities for a blazing fast e-commerce site.

Contents
--------

[](#contents)

- [Description](#description)
- [Documentation](#documentation)
- [Support](#support)
- [Features](#features)
- [Contributing](#contributing)

Description
-----------

[](#description)

The Fastly\_Cdn module relies on Magento2's page cache functionality and extends its Varnish capabilities to leverage Fastly's enhanced caching technology and Geo-IP support.

The second component, the VCL, configures Fastly's Varnish to process the client requests and Magento's HTML responses according to the Cache-Control headers the Fastly\_Cdn module adds to every response.

Documentation
-------------

[](#documentation)

Documentation for this module can be found in the [Documentation](Documentation/)folder.

- [Installation instructions](Documentation/INSTALLATION.md)
- [Configuration instructions](Documentation/CONFIGURATION.md)
- [TLS configuration instructions](Documentation/TLS.md)
- [Purging and Other Functions](Documentation/OTHER-FUNCTIONS.md)
- [Troubleshooting instructions](Documentation/TROUBLESHOOTING.md)
- [How to report bugs](Documentation/OPENING-ISSUES.md)

Support
-------

[](#support)

Help using this module can be found by posting to [Fastly's community forum](https://community.fastly.com/).

For Fastly customers with a [Support Package](https://www.fastly.com/support)please reach out via the normal channels.

If there are issues/errors with integrating the module, please post [details](Documentation/OPENING-ISSUES.md) in the GitHub repository issues.

Features
--------

[](#features)

The module utilises a number of features of Fastly's services. This section will provide a brief overview of the ones available in the Fastly\_Cdn module.

**Geo IP Detection:** Using the client's IP this allows a regional store to be delivered to the user.

**Serving Stale on Errors:** This allows an expired copy of content to be used in case of errors on the origin. This prevents site outages being visible to users.

**Serving Stale while Revalidating:** This allows an expired copy of content to be served while the content is refreshed from origin. This maintains performance while keeping a fresh cache.

**Soft Purging:** This marks content as expired (before the TTL). Using this means that content can be freshened actively while using stale content to users for a fast site.

**N.B.** More in-depth explanations of these features can be found in [Fastly's Documentation](https://docs.fastly.com/).

Contributing
------------

[](#contributing)

We welcome pull requests for issues and new functionality. Please see [Contributing](Documentation/CONTRIBUTING.md) for more details.

###  Health Score

76

—

ExcellentBetter than 100% of packages

Maintenance85

Actively maintained with recent releases

Popularity62

Solid adoption and visibility

Community38

Small or concentrated contributor base

Maturity100

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~32 days

Total

259

Last Release

71d ago

PHP version history (13 changes)1.0.0PHP ~5.5.0|~5.6.0|~7.0.0

1.2.33PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0

1.2.50PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0

1.2.113PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0

1.2.162PHP ~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0

1.2.171PHP ~7.1.3|~7.2.0|~7.3.0|~7.4.0

1.2.174PHP ~7.1.3|~7.2.0|~7.3.0|~7.4.0|~8.0.0

1.2.177PHP ~7.1.3|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0

1.2.190PHP ~7.1.3|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0

1.2.196PHP ~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0

1.2.211PHP ~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0

1.2.225PHP ~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0

1.2.240PHP ~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0|~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/32cde17af54d3b6d6ce50024bcbb6bde6bbf8b057d9e928ca6ef3a85302b147e?d=identicon)[integralist](/maintainers/integralist)

![](https://avatars.githubusercontent.com/u/1396801?v=4)[Katsuyuki Omuro](/maintainers/harmony7)[@harmony7](https://github.com/harmony7)

---

Top Contributors

[![vvuksan](https://avatars.githubusercontent.com/u/260877?v=4)](https://github.com/vvuksan "vvuksan (1005 commits)")[![deninchoo](https://avatars.githubusercontent.com/u/32703342?v=4)](https://github.com/deninchoo "deninchoo (345 commits)")[![Lukas713](https://avatars.githubusercontent.com/u/22978664?v=4)](https://github.com/Lukas713 "Lukas713 (134 commits)")[![dpotkoc](https://avatars.githubusercontent.com/u/553247?v=4)](https://github.com/dpotkoc "dpotkoc (112 commits)")[![hrle991](https://avatars.githubusercontent.com/u/17128368?v=4)](https://github.com/hrle991 "hrle991 (108 commits)")[![bbutkovic](https://avatars.githubusercontent.com/u/17433340?v=4)](https://github.com/bbutkovic "bbutkovic (74 commits)")[![harmony7](https://avatars.githubusercontent.com/u/1396801?v=4)](https://github.com/harmony7 "harmony7 (62 commits)")[![udovicic](https://avatars.githubusercontent.com/u/1079201?v=4)](https://github.com/udovicic "udovicic (58 commits)")[![MartinPeverelli](https://avatars.githubusercontent.com/u/2745975?v=4)](https://github.com/MartinPeverelli "MartinPeverelli (43 commits)")[![smaeda-ks](https://avatars.githubusercontent.com/u/11495867?v=4)](https://github.com/smaeda-ks "smaeda-ks (37 commits)")[![jondade](https://avatars.githubusercontent.com/u/243636?v=4)](https://github.com/jondade "jondade (34 commits)")[![ivanviduka](https://avatars.githubusercontent.com/u/44037984?v=4)](https://github.com/ivanviduka "ivanviduka (34 commits)")[![mizdebski-netacea](https://avatars.githubusercontent.com/u/103107299?v=4)](https://github.com/mizdebski-netacea "mizdebski-netacea (26 commits)")[![phoenix-bjoern](https://avatars.githubusercontent.com/u/846569?v=4)](https://github.com/phoenix-bjoern "phoenix-bjoern (18 commits)")[![pdohogne-magento](https://avatars.githubusercontent.com/u/24830189?v=4)](https://github.com/pdohogne-magento "pdohogne-magento (14 commits)")[![rswalkden](https://avatars.githubusercontent.com/u/38424593?v=4)](https://github.com/rswalkden "rswalkden (13 commits)")[![catap](https://avatars.githubusercontent.com/u/37775?v=4)](https://github.com/catap "catap (11 commits)")[![MickaelDatadome](https://avatars.githubusercontent.com/u/108686236?v=4)](https://github.com/MickaelDatadome "MickaelDatadome (10 commits)")[![dspe](https://avatars.githubusercontent.com/u/329691?v=4)](https://github.com/dspe "dspe (9 commits)")[![herzog31](https://avatars.githubusercontent.com/u/4084418?v=4)](https://github.com/herzog31 "herzog31 (7 commits)")

---

Tags

fastly-oss-tier1magentomagento-backendplugin

### Embed Badge

![Health badge](/badges/fastly-magento2/health.svg)

```
[![Health](https://phpackages.com/badges/fastly-magento2/health.svg)](https://phpackages.com/packages/fastly-magento2)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3138.1k](/packages/fredden-magento2-module-javascript-error-reporting)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
