Re: [PHP] Re: auto_prepend: *Exactly* like include()?
Chris Shiflett wrote: > > Don't get too carried away here. It sounds like you are confusing two > entirely different things. Your earlier questions were related to > caching on the client, not on the server. Yes, PHP does have some > control over what the client caches through HTTP, but this is unrelated > to caching of PHP itself. Huh? Maybe you are confusing this thread with another one where you and I are talking about (at this very moment) browser caching? (HTTP header no-cache) This thread is about the PHP engine caching include files in memory instead of reading them off the disk every time a PHP script is invoked that contains an include() or require(). Hacking 'til it hurts :) Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: auto_prepend: *Exactly* like include()?
Jean-Christian Imbeault wrote: > David Robley wrote: > >> Whether a document is kept in memory cache or not is not something >> that php has any control over, I think; your operating system is >> generally what looks after that. > > > Actually after asking the dev list I found that it *is* PHP "can" have > some control over. > > That's one of the things the Zend engine, for example, does in order > to speed up PHP script processing. Don't get too carried away here. It sounds like you are confusing two entirely different things. Your earlier questions were related to caching on the client, not on the server. Yes, PHP does have some control over what the client caches through HTTP, but this is unrelated to caching of PHP itself. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: auto_prepend: *Exactly* like include()?
David Robley wrote: > > Whether a document is kept in memory cache or not is not something that > php has any control over, I think; your operating system is generally what > looks after that. Actually after asking the dev list I found that it *is* PHP "can" have some control over. That's one of the things the Zend engine, for example, does in order to speed up PHP script processing. But the base PHP engine does not do this. So I have to really on the OS as you pointed. But supposedly there is some PHP hooks I can use to create my own plugin that could keep static data ... Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: auto_prepend: *Exactly* like include()?
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Does using the auto_prepend config option in the php.ini file act > exactly like and include() call. > > An include call will read the file off disk ... will auto.prepend do the > same thing or will PHP keep the file in memory for quick retrival? > > Jc Whether a document is kept in memory cache or not is not something that php has any control over, I think; your operating system is generally what looks after that. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php