RE: [PHP] PHP+MySQL website cache ? Yes/No
| From: | lists at dwsasia dot com | Date: | Sun, 25 Feb 2007 12:31:59 +0000 |
| Subject: | RE: [PHP] PHP+MySQL website cache ? Yes/No | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249391@lists.php.net to get a copy of this message | ||
Quoting Martin Zvarík <mzvarik@gmail.com>:
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.phpYes 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