Re: PHP+MySQL website cache ? Yes/No

From: Date: Sun, 25 Feb 2007 11:33:39 +0000
Subject: Re: PHP+MySQL website cache ? Yes/No
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249392@lists.php.net to get a copy of this message
Martin Zvarík wrote: > 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? I would say yes. A good caching system is essential in a high traffic system. Ideally you'd allow very fine control over what "blocks" are cached and for how long with automated system for extending the life of the cache if the hosting environment is being hit hard. e.g. autodetect high load and make the cache last for 1h rather than 5 mins. I think you are on the right tracks to design this in. Col

« previous php.general (#249392) next »