Re: [Zend Opcache] Is validate_timestamps safe?

From: Date: Mon, 16 Sep 2013 13:25:15 +0000
Subject: Re: [Zend Opcache] Is validate_timestamps safe?
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-11071@lists.php.net to get a copy of this message
On Mon, Sep 16, 2013 at 12:36 PM, rihad <rihad@mail.ru> wrote: > 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

« previous php.pecl.dev (#11071) next »