[wp-trac] [WordPress Trac] #64854: Site Health: opcache full: need a Recommended Improvement notice.

WordPress Trac noreply at wordpress.org
Thu Mar 12 20:46:44 UTC 2026


#64854: Site Health: opcache full: need a Recommended Improvement notice.
--------------------------------------------+-----------------------------
 Reporter:  OllieJones                      |      Owner:  (none)
     Type:  enhancement                     |     Status:  new
 Priority:  normal                          |  Milestone:  Awaiting Review
Component:  Site Health                     |    Version:  trunk
 Severity:  normal                          |   Keywords:
  Focuses:  performance, php-compatibility  |
--------------------------------------------+-----------------------------
 Please see https://core.trac.wordpress.org/ticket/63697

 I've been doing some perf analysis and noticed this: every site I look at
 has the OPCache running at 100%. It seems WordPress has outgrown the
 OPcache, even on simple sites. Blowing it out and churning it is not good
 for site performance (obviously).

 I respectfully suggest the Site Health test suite add a "Recommended
 improvement" item when it detects a full opcache or full interned strings
 buffer.

 Here's a draft of code to do that. https://github.com/OllieJones/sqlite-
 object-cache/blob/35b64c333032322d188a7467d2d2c3758a1aebea/includes/lib
 /class-sqlite-object-cache-opcache.php

 Attached is what my draft looks like in the Site Health panel.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64854>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list