23
Yes you can enable compression with the web.config, as the article below shows- but it can depend on the permissions on the server allows sites.
You should note that dynamic compression (anything that needs to be processed before ti can be sent to the client) can increase the load on the server because its having to do compression on every single request.
Edit: note this is for IIS7 (as you have tagged)