PHPackages                             yireo/magento2-page-cache-csp-nonce-regenerator - 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. [Caching](/categories/caching)
4. /
5. yireo/magento2-page-cache-csp-nonce-regenerator

ActiveMagento2-module[Caching](/categories/caching)

yireo/magento2-page-cache-csp-nonce-regenerator
===============================================

Magento module to regenerate CSP nonces when built-in Page Cache is enabled

0.0.2(1y ago)11990↑19.4%OSL-3.0PHPPHP ^8.1

Since Aug 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/yireo/Yireo_PageCacheCspNonceRegenerator)[ Packagist](https://packagist.org/packages/yireo/magento2-page-cache-csp-nonce-regenerator)[ RSS](/packages/yireo-magento2-page-cache-csp-nonce-regenerator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Yireo PageCacheCspNonceRegenerator
==================================

[](#yireo-pagecachecspnonceregenerator)

**Magento 2 module that replaces the CSP nonces added to various `script` tags with a fresh instance, while the built-in Magento Page Cache is enabled. In other words, even with the Page Cache enabled, nonces are generated per request**

### Requirements

[](#requirements)

- `Magento_PageCache` module enabled
- `Magento_Csp` module enabled
- Magento Page Cache configured to use the **Built-In** cache

^^Note that this module does **not** provide a solution for Varnish.

### Installation

[](#installation)

```
composer require yireo/magento2-page-cache-csp-nonce-regenerator
bin/magento module:enable Yireo_PageCacheCspNonceRegenerator
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

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 ~7 days

Total

2

Last Release

622d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (5 commits)")[![mcspronko](https://avatars.githubusercontent.com/u/3740515?v=4)](https://github.com/mcspronko "mcspronko (1 commits)")

### Embed Badge

![Health badge](/badges/yireo-magento2-page-cache-csp-nonce-regenerator/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-magento2-page-cache-csp-nonce-regenerator/health.svg)](https://phpackages.com/packages/yireo-magento2-page-cache-csp-nonce-regenerator)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[adyen/module-payment

Official Magento2 Plugin to connect to Payment Service Provider Adyen.

1663.0M10](/packages/adyen-module-payment)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[litespeed/module-litemage

LiteMage Full Page Cache for LiteSpeed Web Server

3254.8k](/packages/litespeed-module-litemage)[elgentos/magento2-varnish-extended

This extension extends the built-in Varnish functionalities

6510.9k](/packages/elgentos-magento2-varnish-extended)[vendic/module-optimize-cache-size

Magento 2 extension that reduces the number of cache keys by removing catalog\_product\_view\_id\_, catalog\_product\_view\_sku\_, catalog\_product\_view\_attribute\_set\_, catalog\_category\_view\_id\_ layout handles by default

3453.6k](/packages/vendic-module-optimize-cache-size)

PHPackages © 2026

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