Resource Accelerate can also perform JavaScript compression using Dojo's ShrinkSafe. This is an additional option that can be set on the compression filter. Set shrink-js to true in order to enable JavaScript compression. By combining ShrinkSafe compression with Gzip compression it is very common to achieve 85-90% compression. The advantage of using Resource Accelerate to apply ShrinkSafe is that it is not necessary to do any builds. JavaScript files are automatically recompressed when they are modified and requested. By default ShrinkSafe compression is not enabled because it is more difficult to debug applications with it on. We recommend enabling ShrinkSafe in your staging (compressed JS should be tested before going live) and production environment.