Java JavaScript and CSS combining and compressing
I tried a few JavaScript combining and compression servlets and settled on Granule: https://github.com/JonathanWalsh/Granule Though the documentation is sparse, I was easily able to set it up and get it working. I encountered one problem it had with not dealing with root paths in css so I changed all mine to relative paths and it worked fine. I have yet to find out how to enable and disable debug modes with it, but sorting through the source code will hopefully reveal how to do that. My page load times have improved dramatically and allows me to keep my scripts separate for development.
Advertisement
Categories: Java Programming, JavaScript