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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s