Re: Include speeds
| From: | Stig S. Bakken | Date: | Mon, 30 Jul 2001 23:53:50 +0000 |
| Subject: | Re: Include speeds | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-263@lists.php.net to get a copy of this message | ||
Jeff Yarbrough wrote:
>
> Can anyone help with a speed issue involving include statements. I have a
> file that uses include for html files.
> This is running a multi-processor Unix machine. However, the page takes a
> long time to load. Much longer than it should.
>
> Any suggestions in how to optimize this would be helpful.
How big are the files you are including? Are you creating any
deeply-nested array or object structures? How much of a difference is
there? Do you get the same results if you use "require" instead?
- Stig