yireo / magento2-page-cache-csp-nonce-regenerator
yireo/magento2-page-cache-csp-nonce-regenerator
Magento module to regenerate CSP nonces when built-in Page Cache is enabled
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
Magento_PageCachemodule enabledMagento_Cspmodule enabled- Magento Page Cache configured to use the Built-In cache
^^Note that this module does not provide a solution for Varnish.
Installation
composer require yireo/magento2-page-cache-csp-nonce-regenerator
bin/magento module:enable Yireo_PageCacheCspNonceRegenerator
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
Requires 4
| Package | Constraint |
|---|---|
| magento/framework | ^103.0 |
| magento/module-csp | ^100.0 |
| magento/module-page-cache | ^100.0 |
| php | ^8.1 |
No QA results yet
QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.
More from yireo
View vendorTurn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.