On Sat, 4 May 2002, Pag wrote: >> Does PHP compile : NO >> Does the user loading same page for 2nd time gets better response : YES >> it can if caching is provided > > On a side not..isnt caching a bit like going against why PHP was built > in the first place? I mean, information may get a bit out of date if we > get a page on the cache instead of getting it "fresh" from the server.
Sometimes the developer knows how stale information can get before it needs to be refreshed. An awful lot of pages fetched with GET args are just straight-up retrievals from mostly-static databases, and can be cached with impunity. Also, there are other types of caching. On a multi-use machine that is busy with other stuff but not getting a lot of web traffic, httpd may have been paged out. And the PHP source file will be cached by the filesystem for a while after being read, saving subsequent repeat visits the delay of a disk operation. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php