Static, dynamic, and url compression may be controlled with entries inside of the system.webserver section of the config file.
Note that the code above has client caching turned off. This is for the development environment. To make sure that client caching is turned on in production, add the following to the Web.Release.config file:
UseMaxAge and cacheControlMaxAge="30.00:00:00" sets the client to cache content for 30 days (the recommended best practice).
Also, without cacheControlCustom set to "public" many client browsers won't obey the 30 day cache policy.