close

Why should you register with JoomlaDigger.com?

JoomlaDigger.com is a free community website where users can learn about web development, Joomla! and how to bring more traffic to their websites while contributing their own knowledge. Our members enjoy several benefits, including email notifications of new products and updates, access to the forums, and the ability to give back to the community by submitting content to be posted on JoomlaDigger.com (with links directly to their own websites). And best of all, it's FREE!
Membership Features
  • Email notifications for new content, extensions and updates.
  • Full access to our forums for Joomla! development and extension support.
  • Ability to contribute content and weblinks to gain prominent links to your own website.
Top Panel
Why Register?
Top Panel

Minimize Database Queries by Turning Off Web Site Statistics

(17 votes)


Digg!

Reddit!

Del.icio.us!

JoomlaVote!

Technorati!

Submit to Open Source Software!

StumbleUpon!

DZone!

One way to minimize the number of database queries your Joomla website performs is to turn off all website statistics. This is a quick fix, and removes queries for a part of Joomla you really don't need, speeding up your website and making faster load times.

Let's face it - with free services like Google Analytics, you really don't need to keep any statistics on your server. You can include one line of JavaScript at the bottom of your website and get excellent external web analytics while eliminating MYSQL queries with every site visit.

Article by P.J. Swesey
Open source software news and directory of open source software.
Login and submit your own articles!
Go into your site's Global Configuration and find the Statistics tab, then turn off all options (you may want to keep search strings on, they can be very useful). That's all there is to it. If you want analytics on your site I would recommend Google Analytics. It's free, is easy to set up and has excellent features. You'll need to install an HTML module to include the Google Analytics JavaScript, or place it directly in your template's index.php file.

 
RSS Feed Add to iGoogle Add to Yahoo Add to PageFlakes Add to Netvibes Add to Technorati

Copyright © 2007-2008 JoomlaDigger.com. All rights reserved. Website by P.J. Swesey