Minimize Database Queries by Turning Off Web Site Statistics |
|
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. 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. |


Subscribe to the RSS Feeds















