- Does not interfere with scripts and CSS registered outside of packages
- Automatic or manually triggered compression
- Locking mechanism to prevent multiple concurrent compressions
- Workaround for the thundering herd problem
- Command-line maintenance script
For all details please visit the github project page.
Best clientscript extension
The combination of scripts with their dependencies into a single file if you want is just awesome.
Just thank you!
Blessed be you. I was looking for something like this. Thanks!!!
This software (actually the YUI compressor) needs Java runtime to be installed on the server?
When compressing multiple js files, packagecompressor is combining all the js files.
My multiple js files have same function name. So the compressed file is not calling all the function. Any Suggestions?
Thank you for the suggestion. But package compressor is combining as well as compressing. Is there any way I can only compress my files and not combine them.
Also I am implementing it on a big old project of my company so cannot change so many js files.
In theory, if you want to only compress, but not combine, you could create many packages, each with only 1 js file. But I think a different tool would be more approriate.
This tool uses a very old Java program to do compression, I would consider it deprecated to be honest.
This suggestion would work for the current situation I guess.
Can you suggest any other tool?
Can you also tell me how to register packages from layout file as i don't want to create multiple packages containing single js file in main.php
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.