Re: [PHP] Re: auto_prepend: *Exactly* like include()?

2002-09-29 Thread Jean-Christian Imbeault

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()?

2002-09-29 Thread Chris Shiflett

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