a blog about handmade code

compress javascript

Optimizing CSS and Javascript by Compression

When optimizing css and javascript it can be done with a few clicks. The best way to optimize it, is by compressing and caching both.

Locate them at admin > configuration > development > performance. There you'll see two options:

  1. Aggregate and compress css files.
  2. Aggregate Javascript files

Check both items and viola, your site is optimized. Keep in mind that these settings should be on for the live site.

Subscribe to RSS - compress javascript
©2012 Tranzic Media / Portfolio of Vasna Sdoeung