lcache / wp-lcache

A WordPress implementation of LCache
https://wordpress.org/plugins/wp-lcache/
GNU General Public License v2.0
88 stars 5 forks source link

Should CLI mode be required on production? #126

Closed frankiejarrett closed 7 years ago

frankiejarrett commented 7 years ago

It seems that CLI mode is not recommended on production, and it's also disabled by default.

apc.enable_cli

Mostly for testing and debugging. Setting this enables APC for the CLI version of PHP. Under normal circumstances, it is not ideal to create, populate and destroy the APC cache on every CLI request, but for various test scenarios it is useful to be able to enable APC for the CLI version of PHP easily.

Yet enabling it is the only way to rid the WP LCache warning (#103):

Warning: Warning! Missing APCu extension enabled, which is required by WP LCache object cache. See "Installation" for more details: https://wordpress.org/plugins/wp-lcache/installation/