Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

Chapter 1. EXT: scriptmerger

Extension Key: scriptmerger

Stefan Galinski, <stefan.galinski@gmail.com>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3 -

a GNU/GPL CMS/Framework available from www.typo3.com

1.1. Introduction

This extension provides a significant speedup of your pages. The speedup depends on the amount of css and javascript files which you are using on your site. The performance advantage is gained by merging, minifiing and compressing of all css and javascript files. Furthermore the extension supports different media types and relations (rel attribute) for css scripts and different output formats of the result files. Currently you can write them back into the document  as links to external files or as embedded content.

The minification process and @import rule replacements are based upon the extension „Minify“ which you can find at Google Code [http://code.google.com/p/minify/]. Furthermore the JSMinPlus [http://crisp.tweakblogs.net/blog/1665/a-new-javascript-minifier-jsmin+.html] project is used as a fast and much more error-free alternative to JSMin for the javascript minification process.