yireo / magento2-page-cache-csp-nonce-regenerator
Magento module to regenerate CSP nonces when built-in Page Cache is enabled
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 2
Forks: 1
Type:magento2-module
Requires
- php: ^8.1
- magento/framework: ^103.0
- magento/module-csp: ^100.0
- magento/module-page-cache: ^100.0
This package is auto-updated.
Last update: 2024-12-04 11:35:19 UTC
README
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_PageCache
module enabledMagento_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
composer require yireo/magento2-page-cache-csp-nonce-regenerator bin/magento module:enable Yireo_PageCacheCspNonceRegenerator