/
One more database query on each page

One more database query on each page

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/b6958691be8231d5#

I've got

 SELECT VariableId, VariableValue
 FROM rc_ConfigurationValues
 WHERE VariableName = 'CacheHandler'
 LIMIT 0,1

on each page of In-Portal (even admin console). This query is executed no
matter is memory caching is used or not.

I propose to store caching settings (caching method and cache servers) in
"config.php" file and somehow allow users during In-Portal installation to
change them.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com