Re: [Zend Opcache] Is validate_timestamps safe?
| From: | rihad | Date: | Mon, 16 Sep 2013 15:26:27 +0000 |
| Subject: | Re: [Zend Opcache] Is validate_timestamps safe? | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11074@lists.php.net to get a copy of this message | ||
On 09/16/2013 06:25 PM, Julien Pauli wrote:
On Mon, Sep 16, 2013 at 12:36 PM, rihad <rihad@mail.ru> wrote:Thank you, Julien.Hi, I have a question regarding: opcache.validate_timestamps = 1 opcache.revalidate_freq = 60 Since AFAIK Zend Opcode cache lacks a web interface to invalidate the whole cache atomically, the way APC does, otherwise I would simply use opcache.validate_timestamps = 0 and invalidate manually when rsyncing a new tree.Here is an interface from Rasmus. https://github.com/rlerdorf/opcache-status/blob/master/opcache.php You can easilly patch it to add a link to a page calling opcache_reset(). Julien.Pauli