eAccelerator cache

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Acharis
Forum Newbie
Posts: 4
Joined: Sat Jan 16, 2010 2:16 pm

eAccelerator cache

Post 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?
Post Reply