Hello, in order to reduce database high usage I’ve applied all the recommendations I’ve found here:
http://expressionengine.com/wiki/Reduce_Queries/
I’ve created an EE blank template to check if I’ve got only 4 queries as the wiki says, though it is using 9. I think some of them should not appear and I’d like somebody help me to avoid them. Here are some questions:
1. “Don’t run sessions. Use cookies only. (session preferences) “. I’m not using but I can see this query, is it OK?
UPDATE `exp_sessions` SET `session_id` = '7da328e3bc0192a1dss7bea3d92baf3a6d5e', `member_id` = '1', `admin_sess` = '1', `ip_address` = 'XX.XX.XXX.XXX', `user_agent` = 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; ca-es) Ap', `last_activity` = '112168' WHERE session_id ='7d66cdsasdbea32343d32af3a6d5e'
2. As the template is blank, why does EE search for global variables?
SELECT variable_name, variable_data FROM exp_global_variables WHERE site_id = '1' AND user_blog_id = '0'
Thank you.
