9 votes
PeterD.Compress
PLEASE NOTE: This package does NOT work with umbraco 4.5 or higher. This project is no longer under development because of the introduction of the ClientDependency in umbraco 4.5.
This package works in 2 ways. What I think is the most important is that it looks for javascript-files and stylesheet-files. If there are more than 1 in the header, it replaces the code, combines the files to 1 file and compresses it. 3 major benefits from this:
- You can create a site like you normally do and if you ever decide to disable compression, you don't need to change any code
- Files are being compressed, this reduces the loading time on the client and saves you bandwidth (ie: jquery.js minified is 54kb, compressed it is only 10).
- Files are merged. There's maximum 1 js-reference and 1 css-reference in the header. This has the big advantadge that the number of requests to the server is lowered, less requests means higher responsiveness and faster serving pages.
If you have any references to js-files or css-files in the body-part of your document, there are not merged, but they do get compressed.
Secondly, and standard aspx-pages are being compressed also, meaning another saving in the bandwidth and loading time.
What I like about it also is that it works perfectly on the umbraco-backend as well. For example: If you load the UI-startpage, uncompressed it is approx 500kb in size. After compression, it's only around 225kb! More than 50% saving.
- Package Files
- Documentation
- Archived Files