Re: Include speeds
| From: | Stig S. Bakken | Date: | Tue, 31 Jul 2001 07:21:07 +0000 |
| Subject: | Re: Include speeds | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-265@lists.php.net to get a copy of this message | ||
Colin Viebrock wrote:
>
> > > Can anyone help with a speed issue involving include statements. I have
> a
> > > file that uses include for html files.
>
> If you are just including static HTML files, I think readfile() is going to
> be quicker than include() or require() ... no?
It should be. But if you're using the Zend Cache, that may not be true
anymore. YMMV.
- Stig