Overview
The collected deployment app/etc/env.php declares cache_types.full_page enabled. This verifies the persisted Magento cache type state; Varnish selection and actual cache hit rates are separate observations.
Why it Matters
Full Page Cache (FPC) improves Magento performance by caching complete page output. Without FPC, every request is built dynamically, increasing server load and response times. Attackers may exploit slow responses with DoS attempts, and customers will face poor performance.
Enabling FPC ensures pages are served quickly, reduces strain on PHP and database, and helps keep the storefront stable during high traffic.
Verification Steps
Manual Verification
- Read only cache_types.full_page from deployed env.php.
- Confirm it resolves to the enabled state and corresponds to the served release.
- Review actual cache hits with request-level evidence as a separate operational check.
Command / Review Sample
php -r '$c = require "app/etc/env.php"; var_export($c["cache_types"]["full_page"] ?? null); echo PHP_EOL;'
Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.
Remediation / Fix Guidance
- Investigate and change: Inspect php bin/magento cache:status and the persisted cache_types.full_page declaration in the intended release. Enable full_page through the supported configuration/CLI workflow after reviewing any deliberate exception.
- Validate the change: Rerun the local state check and separately verify actual cache behavior at the configured built-in cache or Varnish layer; cache headers alone do not prove persisted FPC state.
- Rerun MB-0037 against the same release, profile and relevant file/key/package scope; compare the new evidence and inspect any independent collection gaps.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
cache_types.full_page = 0
Pass Example
cache_types.full_page = 1
Scope and Evidence Limits
Rule revision: 4. Target modes: LOCAL.
The collected deployment app/etc/env.php declares cache_types.full_page enabled. This verifies the persisted Magento cache type state; Varnish selection and actual cache hit rates are separate observations.
This check covers only the collected observation. Missing collection scope, external controls and runtime behavior require separate evidence.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.