Category page loading extremely slow (Magento 1)

If the category page of your Magento store is loading really slow, the configurable swatches might be the problem. Override /app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php and move

up to before the foreach loop. This will help increasing the speed of your category page…