Yireo_PageCacheCspNonceRegenerator
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
Latest Release
0.0.2
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
Current status
Support
For getting support, create an Issue under the following project URL:
https://github.com/yireo/Yireo_PageCacheCspNonceRegenerator
Composer details
Magento module name
Yireo_PageCacheCspNonceRegeneratorComposer name
yireo/magento2-page-cache-csp-nonce-regeneratorComposer version
No release yet
Default branch
master
Requirements
magento/framework: ^103.0
magento/module-csp: ^100.0
magento/module-page-cache: ^100.0
php: >=8.2 <8.6
Releases
| 0.0.2 | 23 October 2026 |
Changelog
[0.0.2] - 4 September 2024
- Code quality,
readonly, SOLID #1 @mcspronko - Set minimum PHP requirement to 8.1
[0.0.1] - 29 August 2024
- Initial release
Last modified: October 17, 2026