Magento Extension

Want to share my new Magento extension that helps to get correct version of merged css and js files.

Advanced File Merger

 

When you set to merge js or css files in one – the main problem that magento do not check if file was really changed they check only file names. And even if you clear media/css files magento will re-generate merged css and js and content will be updated. BUT magento will also regenerate the same file name for updated files and browsers won’t know about changes and will use cached copy.

It’s so easy and I don’t know why do magento team missed so important issues.┬áMy extension will fix that problem.

Shortly – it checks files modification date and use them to get new merged name. So if file was changed we get other hashed name and browser will fetch new file.

Leave a Reply

Your email address will not be published. Required fields are marked *