Feature Request: Option to reset Opcode cache when clearing the cache #489
Comments
|
1 similar comment
|
@jaswsinc The new "Clear the OPCache Too?" option is located in the new "Manual Cache Clearing" section of the options, which I assume means that it applies only to the "Clear Cache" button, not to any automatic cache clearing routines (there's no corresponding option inside the new "Automatic Cache Clearing" section as I would've expected). Can you confirm if this was intentional or if you just overlooked it? |
The OpCache is only cleared in the following circumstances:
I don't think the OpCache should ever be cleared in an automatic way otherwise, because the OpCache really only needs to be cleared whenever filesystem changes occur; i.e., when ZenCache options change and the |
@jaswsinc Thanks for the clarification! :-) |
Next Pro Release Changelog:
|
ZenCache Pro v151002 has been released and includes changes from this GitHub Issue. See the ZenCache Pro v151002 release announcement for further details. This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#489). |
Forked from #342 (comment).
The new PHP 5.5+ Opcache extension allows resetting the Opcode cache via
opcache_reset()
. ZenCache should have a new option panel called "Opcode Cache" that includes a button to manually reset the Opcode cache, along with an option to disable automatic Opcode cache resetting whenever the ZenCache cache is cleared (the default would be enabled).This panel can also include a PHP code snippet and reference to the "Process Other Custom PHP Code?" section inside ZenCache → Plugin Options → Clearing the Cache in case the site owner wants more advanced control over this functionality.
The text was updated successfully, but these errors were encountered: