RE: [PHP] PHP+MySQL website cache ? Yes/No
- From: lists@xxxxxxxxxxx
- Date: Sun, 25 Feb 2007 19:31:59 +0700
Quoting Martin Zvarík <mzvarik@xxxxxxxxx>:
I did a benchmark with and without caching to HTML file and it's like:
0.0031 sec (with) and 0.0160 sec (with database)
I know these miliseconds don't matter, but it will have significant
contribution in high-traffic website, won't it?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes it will. And the 0.0129 seconds extra most of it is maybe to create the DB connection. Or are you using a persistent connection and reuseing it?
This benchmark was that together with all other content of the page? I mean including your dynamic shopping cart etc?
/Peter
.
- Follow-Ups:
- Re: [PHP] PHP+MySQL website cache ? Yes/No
- From: Martin Zvarík
- Re: [PHP] PHP+MySQL website cache ? Yes/No
- References:
- RE: [PHP] PHP+MySQL website cache ? Yes/No
- From: Martin Zvarík
- RE: [PHP] PHP+MySQL website cache ? Yes/No
- Prev by Date: RE: [PHP] PHP+MySQL website cache ? Yes/No
- Next by Date: Re: PHP+MySQL website cache ? Yes/No
- Previous by thread: RE: [PHP] PHP+MySQL website cache ? Yes/No
- Next by thread: Re: [PHP] PHP+MySQL website cache ? Yes/No
- Index(es):