Page 1 of 1

eAccelerator cache

Posted: Sat Jan 16, 2010 2:26 pm
by Acharis
PHP5 + eAccelerator + Zend Optimizer

How exactly the source code cache works?

For example what happens when:

Code: Select all

if(file_exists('xxx.php')) include'xxx.php';
Would file_exists() be checked from disc or from cache?
If the file is cached would the file check still be made?


Related question, how amount of files (php files in directory only) affect performance (linux server)? Logical would be that once these are cached it is irrelevant?