JS/CSS Compression & minify - User Interface Optimization

Optimize and minimize your css and js files thanks to well known php libraries. Tool to Validate your HTML/CSS. Canonical url generator
  • Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must choose from Magento Connect Version 1.5.1.0 or 2.0.
Learn more

Magento Connect 1.0 change

FREE
Overview

JS/CSS Compression & minify - User Interface Optimization

This module is a new version of the discontinued Rissip UIOptimization module

Minify and Optimize Javascript and Cascade Style Sheet

This module allows you to optimize and minify your css and js files by allowing you to use different available compression libraries and methods. It's completely configurable following the capabilities of each libraries.

Compatible 1.4.x until 1.6.2

- Available libraries CSSTidy, JSMin, Google Minify or the YUI copmressor. 

- Compatible with the merging CSS and JS function of Magento

- Works with any css and js files included in layout files using action methods: addCss, addJs, and addItem (skin_js, skin_css and js)

- It doesn't modifiy your originals files

- Update the optimized files when the original are modified automatically or periodically (sunday at 2:00 or configurable via Magento cron)

- Compatible with https website and relative urls. (it fixes a bug in Magento prior to 1.5.1)

Canonical URL

Inspired by the module from Yoast, this feature allows you to create canonical urls of your catalog (products, categories, cms page). Please visit the website of Yoast for more information: http://yoast.com/articles/magento-seo/

This feature is implemented in this module too, to help you to have less as possible different modules.

HTML and CSS validator

- Enable / disable each function

- Use the W3C Webservice validator

- For testing purpose, display at the bottom of each page of your Magento frontend the validation of your CSS or HTML. Don't use both otherwise it will be slow to display each page.

- Allow you to configure default and / or fallback values (doctype, charset, language, ...)

- Allow you to define a local HTML validator server for quickest validation and local development (No local CSS validator server available for the moment). In local development, you need to do it otherwise the W3C Validator could not get access to your local development website.

Requirements

- If you wish to use YUI Compressor. Java on your server is required. You need to provide in the config the path of the binary if different of the environnement default one.

Optionaly:

- For those who use the CommerceBug module, contact me to give you the scripts for it. The script for CommerceBug display the W3C validator for HTML and CSS.

Documentation:

  • - An assistant will be available soon
  • - Follow the instruction in the configuration page
  • - In case of Access Denied in the backend: clear your cache, logout/login. In case, it still doesn't work, save again the user role in System > Permissions > Roles.

Profiling

As promised, I provide you below the statistic of compression and ratio by using the different libraries:

Compressed/Minified file statistic and comparison by using default Magento template, sample data, configuration for Rissp User Interface Optimization module is for all by default. Only the method to compress/minify is changed. Merging file has no influence on compression but has influence on number of HTTP requests which is also an important point.

**** JS compression (analyzed with YSlow):

- no compression, no miniying, no merging:  329.8 Kb

- JSMin (unmerged, no gzip): total 230.4Kb (31% of compression)
- JSMin (merged, no gzip): total 230.4Kb
- JSMin (merged, gzip): total 56.8Kb (compression 83%)

- YUI compressor (unmerged, no gzip): total 193.6 Kb (compression 41%)
- YUI compressor (merged, no gzip): total 193.6 Kb
- YUI compressor (merged, gzip): total 52.6 Kb (compression 84%)

- Packed (unmerged, no gzip): total 133.5 Kb (compression 59%)
- Packed (merged, no gzip): total 133.5 Kb
- Packed (merged, gzip): total 44.5 Kb (compression 86.5%)

**** CSS compression (analyzed with YSlow):

- no compression, no miniying, no merging, no gzip: 95.9 kb

- CSS Tidy (unmerged, no gzip): total 79.8 Kb (compression 17%)
- CSS Tidy (merged, no gzip): total 79.8 Kb
- CSS Tidy (merged, gzip): total 14.7 Kb (compression 85%)

- YUI compressor (unmerged, no gzip): total 82.7 Kb (compression 14%)
- YUI compressor (merged, no gzip): total 82.7 Kb- YUI compressor (merged, gzip): total 14.5 Kb (compression 85%)

- Google Minify (unmerged, no gzip): total 79.9 Kb (compression 17%)
- Google Minify (merged, no gzip): total 79.9 Kb- Google Minify (merged, gzip): total 14.9 Kb (compression 84.5%)

CONCLUSION:

- for JS: 1) YUICompressor 2) JSMin 3) Packed (for compatibility problem with Magento)
- for CSS: 1) CSSTidy 2) Google Minify (almost good as CSSTidy) 3) YUICompressor

Release Notes

Improvements Canonical Url Generator & some cosmetic changes

2012-02-06 00:05:30
  • Version number: 1.3.0
  • Stability: Stable
  • Compatibility: 1.4, 1.4.1.1, 1.4.2, 1.5, 1.6, 1.6.1

You must choose from Magento Connect Version 1.5.1.0 or 2.0.
Learn more

Magento Connect 1.0 change

- Version 1.3.0: improve canonical url generation, improve some configuration parameters, remove the option JS Packer because incompatible with Magento - Version 1.2.0: improve compatibility with compilation feature of Magento, add a js/css flush button directly in the configuration page - Version 1.1.0: rewrite some classes of the minify libraries to respect PHP 5 and prevent some errors, change the module name, make it compatible with compilation feature of Magento, add canonical url feature for SEO - Version 1.0.10: fix type for css files stored in /js/ folder - Version 1.0.9: make correct package for Magento prior to 1.5 - Version 1.0.8: make it compatible with 1.5 and some improvements. - Version 1.0.2: add cron task to allow to update compressed/minified js/css files periodically - Version 1.0.1: fix a missing config element class, this class seems to exists only since 1.4.1 or more

Minifing and Optimizing your CSS and JS files with different libraries (YUI, Packer, CSSTidy, JSMin). Get info about your page with W3C HTML and CSS Validator. Create canonical url of your catalog products

2012-01-24 12:06:29
  • Version number: 1.2.0
  • Stability: Stable
  • Compatibility: 1.4, 1.4.1.1, 1.4.2, 1.5, 1.6

You must choose from Magento Connect Version 1.5.1.0 or 2.0.
Learn more

Magento Connect 1.0 change

* Minifing and Optimizing: This module allows you to optimize and minify your css and js files by allowing you to use different available compression libraries and methods. It's completely configurable following the capabilities of each library. - Available libraries CSSTidy, JSMin, Packer, Google Minify or the YUI copmressor. - Compatible with the merging CSS and JS function of Magento - Works with any css and js files included in layout files using action methods: addCss, addJs, and addItem (skin_js, skin_css and js) - Doesn't modifiy your originals files - Update the optimized files when the original are modified automatically or periodically (cron task) - Compatible with https website and relative urls. (it fixes a bug in Magento priori to 1.6) - Create canonical url of your catalog products to prevent duplicate content and improve your SEO * HTML and CSS validator - Enable / disable each function - Use the W3C Webservice validator - For testing purpose, display at the bottom of each page of your Magento frontend the validation of your CSS or HTML. Don't use both otherwise it will be slow to display each page. - Allow you to configure default and / or fallback values (doctype, charset, language, ...) - Allow you to define a local HTML validator server for quickest validation and local development (No local CSS validator server available for the moment). In local development, you need to do it otherwise the W3C Validator could not get access to your local development website if it's on your local computer. * Canonical URL Inspired by the module from Yoast, this feature allows you to create canonical urls of your catalog (products, categories, blog, cms page). Please visit the website of Yoast for more information: http://yoast.com/articles/magento-seo/ * Required: - If you wish to use YUI Compressor. Java on your server is required. You need to provide in the config the path of the binary if different of the environnement default one. * Optionnaly: - For those who use the CommerceBug module, contact me to give you the scripts for it. * Documentation: - An assistant will be available soon - Follow the instruction in the configuration page - In case of Access Denied in the backend: clear your cache, logout/login. In case, it still doesn't work, save again the user role in System > Permissions > Roles.

Minifing and Optimizing your CSS and JS files with different libraries (YUI, Packer, CSSTidy, JSMin). Get info about your page with W3C HTML and CSS Validator. Create canonical url of your catalog products

2012-01-24 09:06:45
  • Version number: 1.1.0
  • Stability: Stable
  • Compatibility: 1.4, 1.4.1.1, 1.4.2, 1.5, 1.6

You must choose from Magento Connect Version 1.5.1.0 or 2.0.
Learn more

Magento Connect 1.0 change

* Minifing and Optimizing: This module allows you to optimize and minify your css and js files by allowing you to use different available compression libraries and methods. It's completely configurable following the capabilities of each library. - Available libraries CSSTidy, JSMin, Packer, Google Minify or the YUI copmressor. - Compatible with the merging CSS and JS function of Magento - Works with any css and js files included in layout files using action methods: addCss, addJs, and addItem (skin_js, skin_css and js) - Doesn't modifiy your originals files - Update the optimized files when the original are modified automatically or periodically (cron task) - Compatible with https website and relative urls. (it fixes a bug in Magento priori to 1.6) - Create canonical url of your catalog products to prevent duplicate content and improve your SEO * HTML and CSS validator - Enable / disable each function - Use the W3C Webservice validator - For testing purpose, display at the bottom of each page of your Magento frontend the validation of your CSS or HTML. Don't use both otherwise it will be slow to display each page. - Allow you to configure default and / or fallback values (doctype, charset, language, ...) - Allow you to define a local HTML validator server for quickest validation and local development (No local CSS validator server available for the moment). In local development, you need to do it otherwise the W3C Validator could not get access to your local development website if it's on your local computer. * Canonical URL Inspired by the module from Yoast, this feature allows you to create canonical urls of your catalog (products, categories, blog, cms page). Please visit the website of Yoast for more information: http://yoast.com/articles/magento-seo/ * Required: - If you wish to use YUI Compressor. Java on your server is required. You need to provide in the config the path of the binary if different of the environnement default one. * Optionnaly: - For those who use the CommerceBug module, contact me to give you the scripts for it. * Documentation: - An assistant will be available soon - Follow the instruction in the configuration page - In case of Access Denied in the backend: clear your cache, logout/login. In case, it still doesn't work, save again the user role in System > Permissions > Roles.

User reviews (13)

Write a Review

Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.

Close In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window