#19657 [Csd]: confirm that auto_pre/append causes a disk read for every script invocation

From: Date: Tue, 21 Jan 2003 08:59:34 +0000
Subject: #19657 [Csd]: confirm that auto_pre/append causes a disk read for every script invocation
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351155@lists.php.net to get a copy of this message
ID: 19657 User updated by: jc@mega-bucks.co.jp Reported By: jc@mega-bucks.co.jp Status: Closed Bug Type: Documentation problem Operating System: Red Hat Linux 7.2 PHP Version: 4.2.3 New Comment: Ok. I'll defer to your judgment on this :) Previous Comments: ------------------------------------------------------------------------ [2003-01-21 02:51:55] philip@php.net I don't feel anything needs to be documented here. It's been analyzed, imho the added text would only confuse people. It might also make it seem that everything is "unoptimized" ------------------------------------------------------------------------ [2002-09-30 08:32:16] jc@mega-bucks.co.jp The docs don't day *anything* on the subject of caching or optimization in the context of pre/append or include(). That's why I had to ask around. From the part you quoted all that is assured is that the behaviour is just as if an include() had been called. But reading the docs for include() also doesn't mention if any caching is done. I couldn't find anywhere in the docs that said clearly and definitively "No optimization/caching is done" or the inverse. I just needed a yes/no answer and I couldn't find it in the docs. I'm not saying it isn't in there somewhere but I really couldn't find it. ------------------------------------------------------------------------ [2002-09-30 05:01:12] hholzgra@php.net from: http://www.php.net/manual/en/print/configuration.php#ini.auto-prepend-file "Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the include() function,..." i think it is clear enough that there is no special cacheing or optimization done on auto_prepend? ------------------------------------------------------------------------ [2002-09-30 04:29:21] hholzgra@php.net ooops .... wrong window ... reopening ------------------------------------------------------------------------ [2002-09-30 04:28:19] hholzgra@php.net from: http://www.php.net/manual/en/features.http-auth.php "The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version." ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19657 -- Edit this bug report at http://bugs.php.net/?id=19657&edit=1

« previous php.doc (#969351155) next »