5

I thought Magento came with this feature out of the box but it doesn't appear to be working at all. I'm not sure if I haven't set it up properly, but right now I'm resorting to using cat and altering the page.xml layout file to use the combined javascript and css files.

Can I make Magento do this instead or is there an extension that adds this feature?

5 Answers 5

13

Go to System>Configuration>Developer and alter the settings in the Javascript and CSS settings boxes. Ensure that you have correct Configuration Scope set in the top-left of the page for your website/store.

Make sure that you flush the cache after changing the setting.

P.S. The Fooman Speedster extension will also perform this task.

Sign up to request clarification or add additional context in comments.

2 Comments

Here, it breaks the presentation : all CSS and JS are unreachable, they are not merged and their URLs are their filepaths. Making admin unusable (that's where unobstrusive JS should come into play !!)
check that your /media folder is writeable (777). Magento needs to be able to write the merged CSS/JS files into the media folder
5

There is also mod_pagespeed which does this for all output from your server but doesn't hurt Magento while it does it.

Comments

2

There are extensions in Magento Connect like JS/CSS Compression minify or on the web like Compressor.

Comments

0

http://www.magentocommerce.com/magento-connect/catalog/product/view/id/10581

this extension works fine and has improved our site's performances to a considerably higher levels...

Think this might help someone...

Comments

0

install mod_pagespeed by google on server zero configuration for your magento.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.