Skip to content

feat(system): show OPcache and JIT state#2377

Open
MiddleSokilAI wants to merge 1 commit into
evolution-cms:3.5.xfrom
MiddleSokilAI:middleSokil/system-info-cache-state-2376
Open

feat(system): show OPcache and JIT state#2377
MiddleSokilAI wants to merge 1 commit into
evolution-cms:3.5.xfrom
MiddleSokilAI:middleSokil/system-info-cache-state-2376

Conversation

@MiddleSokilAI
Copy link
Copy Markdown
Collaborator

Summary

  • Add OPcache status to System Info (a=53) with enabled/disabled state, memory usage, hits and misses.
  • Make the Enabled OPcache label reset OPcache when the reset API is available.
  • Add JIT status with configured JIT buffer size.
  • Sanitize PHPInfo links so external links open outside the manager frame and internal PHPInfo links cannot recursively reload the admin panel.

Root Cause

System Info did not expose runtime cache state, and raw phpinfo() output could include links that navigate inside the manager iframe.

Validation

  • php -l src/Controllers/SystemInfo.php
  • php -l ../manager/views/page/phpinfo.blade.php
  • php -l ../manager/views/page/sysinfo/html.blade.php
  • git diff --check

composer validate --no-check-publish --no-check-all reports the existing lock-file mismatch and version-field warning.

Visual proof was not captured because this checkout does not have a running authenticated manager session.

Closes #2376

@elcreator
Copy link
Copy Markdown

Every English string you added should be localized same as the rest of this page. Also add translations to all supported language files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System Info missing cache state in the system

2 participants