Re: Which is faster, a MySQL access, or a set of PHP variables?

From: Date: Mon, 02 Jan 2006 13:14:21 +0000
Subject: Re: Which is faster, a MySQL access, or a set of PHP variables?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228085@lists.php.net to get a copy of this message
Thank you for the advice. The point was raised, and it's a good one, that if I'm getting content from the database for most pages, then attaining the necessary translations probably won't make a difference. And of course, it is true that at my current levels of hits, the server load is negligible. But, of course, one always hopes that site popularity will increase and justify the efforts of making it efficient. I think I am going to database the translations for now, and then later if need be, I will go with the suggestions of creating a list of variables from the database once a day with a cron job. I appreciate all the help people have given to let me understand the issue. -- Dave M G

« previous php.general (#228085) next »