New version of Joomla! ScriptMerge
Friday, 22 April 2011We just released a new version of our own ScriptMerge plugin - a plugin that allows you to merge and compress CSS-files and JavaScript-files within your Joomla! site - allowing you to optimize the speed of your site. Version 0.8.11 also includes support for Joomla! 1.6. Here are the details.
Joomla! 1.6 support
While we had already migrated our most important extensions (MageBridge, Dynamic404, TweetScheduler) to Joomla! 1.6, a few of the bunch of free Joomla! plugins were not completely migrated to Joomla! 1.6 - the same applies to ScriptMerge. We have now made it compatible with Joomla! 1.6 - you will find two separate downloads for both 1.5 as 1.6 on the download page.
Improvements with CSS-merges
Some enhancements in the code were also made: For instance, the previous version of ScriptMerge did not support @import tags within CSS-stylesheets. Now it does: Whenever an @import-tag is encountered within the CSS-code, ScriptMerge will detect the mentioned file and include that CSS as well. When that file again contains an @import-tag (recursive CSS-imports) ScriptMerge will handle that as well. This effectively solves the performance problem that @import normally give you.
Another improvement deals with image-includes: With ScriptMerge, the CSS-path is changed so that relative URLs to images also need to be changed. When an image was referenced by going one-directory-down-and-one-directory-up (../images) this did not give any problems, but when only the base URL (/myjoomla/images/stories) was used it did. This new version fixes this problem as well.
ScriptMerge is available for free here.
