Pre-cache script for Magento