The first thing I do when starting a project is ask the client if he needs user logs in his website. In technical terms
Mage_Log module. In all the cases so far I got the answer:
No. We will use Google Analytics.
And the next question is "Do you want compare products?". I ask these questions because the log tables tend to become large overtime, and the website gets slow. So I want to avoid fixing speed issues.
The second question I ask is because the compare products section depends on the logs for guest customers. See this in the
addAction of the product compare controller:
if ($productId && (Mage::getSingleton('log/visitor')->getId() || Mage::getSingleton('customer/session')->isLoggedIn()) )
So if the client want's compare products I cannot disable the logging.
I mean I could search for an extension or build one, but the real question is: Why is the compare functionality linked to the visitor id? Any good outcome of this?. The guest quotes function nicely by referencing the id of the quote in the session. Why not the same for compare products?