Re: A question about efficiency
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: A question about efficiency

From: Stephen Oakes <soakes1@XXXbigpond.net.au>
Date: Wed Jul 20 2005 - 10:58:20 CEST

"Erwin Moller" <sin_hum_rea_thi_Iam_spa_too_muc@spa.com> wrote...
>> - don't do anything, but rely on server caching. Is PHP / Apache caching
>> any good?

>> - Periodically "publish" my PHP-generated pages to flat HTML pages and
>> serve them up instead of the PHP.

>> - Other things?

> I am unsure what you expect from the first solution.

Me too, that's why I asked. I don't really know enough about how
server/mysql caching works to know whether I need do anything extra.

> You second approach is easy to implement, and easy to understand.
> I did it before, and it works realy easy.
>
> The approach I choosed was a little different from the one you describe,
> but
> similar:
>...

Yes, that's the basic approach I had in mind, although more on a per-page
basis than part-page. That idea might help in some places.

> Of course, it is up to you to decide which pieces on your site are
> suitable
> for this approach.

Did you notice any improvements in speed?

--
Stephen Oakes
Received on Mon Oct 17 21:12:05 2005