database or includes?

From: Date: Wed, 20 Dec 2000 15:06:22 +0000
Subject: database or includes?
Groups: php.db 
Request: Send a blank email to php-db+get-5361@lists.php.net to get a copy of this message
Hi, I'm building a site, the template has a identifypage.php section. That identifies the page and then does one of the following (I want to find out which is faster): a) includes a text file that defines about 20 variables (title, metatags, content, ...) for the page. b) or it selects all those from 1 row in the database. My question: comparing including those vars to getting them from a dbase? I can see if I get them from a dbase the site may slow down when hit heavily... Any ideas on what's the best way to go? Would there be any significant difference? I estimate this site getting semi-popular (e.g. up to maybe 20.000 pageviews a day but more like 2000) Peter

« previous php.db (#5361) next »