Skip to content

fix: Remove the "cacheable" attribute from the inspector block, as this affects other page elements when Magento caching is enabled locally#174

Merged
dermatz merged 1 commit intomainfrom
fix/inspector-cache-hit
Apr 22, 2026
Merged

fix: Remove the "cacheable" attribute from the inspector block, as this affects other page elements when Magento caching is enabled locally#174
dermatz merged 1 commit intomainfrom
fix/inspector-cache-hit

Conversation

@dermatz
Copy link
Copy Markdown
Member

@dermatz dermatz commented Apr 22, 2026

This pull request makes a minor update to the default.xml layout file, specifically for the mageforge.inspector block. The change removes the cacheable="false" attribute, which may affect how the block is cached by Magento.

  • Removed the cacheable="false" attribute from the mageforge.inspector block in default.xml, potentially allowing the block to be cached.

Copilot AI review requested due to automatic review settings April 22, 2026 09:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Magento frontend layout to change caching behavior for the MageForge inspector block that injects developer-only inspector assets into pages.

Changes:

  • Removed cacheable="false" from the mageforge.inspector block declaration in src/view/frontend/layout/default.xml.

Comment thread src/view/frontend/layout/default.xml
@dermatz dermatz changed the title fix: Remove cacheable attribute from inspector block fix: Remove the "cacheable" attribute from the inspector block, as this affects other page elements when Magento caching is enabled locally. Apr 22, 2026
@dermatz dermatz changed the title fix: Remove the "cacheable" attribute from the inspector block, as this affects other page elements when Magento caching is enabled locally. fix: Remove the "cacheable" attribute from the inspector block, as this affects other page elements when Magento caching is enabled locally Apr 22, 2026
@dermatz dermatz merged commit e12e44e into main Apr 22, 2026
17 checks passed
@dermatz dermatz deleted the fix/inspector-cache-hit branch April 22, 2026 09:51
@github-actions github-actions Bot mentioned this pull request Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants