[Zend Opcache] Is validate_timestamps safe?

From: Date: Mon, 16 Sep 2013 10:22:16 +0000
Subject: [Zend Opcache] Is validate_timestamps safe?
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-11068@lists.php.net to get a copy of this message
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. Is it safe to assume that this auto-revalidation will work with interdependencies between several files? Say I add a new variable to a file and require that file in another. What if the second file expires and reloads before the first one? It won't have access to that variable, undefined behaviour, not good. Unless I totally misunderstood something :)

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