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

magento2-module Compatibility: Not yet tested Code Quality: Pending Tests: N/A Security: Pending OSL-3.0
Viewing version 0.0.1. Latest version is 0.0.2. Switch to latest

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_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

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.

Versions
Version Stability QA Status Compatibility Released
0.0.2 stable Fail Magento 2.4.7-2.4.9 Details 2024-09-04 10:38:19
0.0.1 stable Not tested Not yet tested Details 2024-08-28 10:37:35

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.

License
OSL-3.0

More from yireo

View vendor
Make it pay

Turn 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.