|Disable statistics collection in Joomla - less backups, faster response|
In Joomla 1.0 (or Mambo before that) one could simply disable statistics collection by choosing equaly named option in global configuration - guess what, this is not possible in 1.5. and it looks like it also won't be possible in 1.6.
While article view and weblink clicks statistics are a nice feature for low traffic sites there are number of problems arising from it - basically this kind of statistics means that for every pageview or link click Joomla has to write new data to a database. This has numerous implications:
By using this simple hack you can shrink your backups and improve your Joomla site's performance at the same time:
comment out line 65 in component/com_content/views/article/view.html.php
and line 46 of components/com_weblinks/controller.php
Weblinks got a parameters option for disabling click recording and so hack is only needed for com_content . The location and the code that needs to be commented out is the same as in 1.5., but the line number has changed - code is now found at line 145.
Alternatively you can apply global_counters_1.patch patch that can be found on Joomla tracker: http://bit.ly/ddhUht . The patch will add an option for statistics collection (counters on/off) in global configuration and in com_content parameters.