[wp-trac] [WordPress Trac] #36455: Call opcache_reset() after plug-in, theme or core update
WordPress Trac
noreply at wordpress.org
Mon Apr 11 01:57:08 UTC 2016
#36455: Call opcache_reset() after plug-in, theme or core update
-------------------------------------+------------------------------
Reporter: nigro.simone | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses:
-------------------------------------+------------------------------
Changes (by dd32):
* keywords: => needs-patch 2nd-opinion
* focuses: performance =>
* version: 4.4.2 =>
Comment:
When running in an environment where PHP files are modified, using an
opcode cache without some kind of filesystem monitoring is always going to
be a bad idea - the opcode cache simply is not designed to be used within
that environment.
I'm not against adding this, especially as it's more likely to be enabled
in PHP 7, but this won't help at all for scenario's where a manual update
is run, or WP-CLI (or other similar tools) are used to manage the updates.
It'd have to be run post plugin/theme/core update, on the plugin/theme
editors, probably needs some way of being triggered by plugins too, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36455#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list