You can setup TurboGears to compress all the data that it sends to the web browser using a CherryPy filter called GzipFilter.
If you are serving a lot of text based content, you will probably want this enabled to save bandwidth and to provide a much faster loading experience to the users. You can enable this by editing config/app.cfg file:
Note that if mime_types isn’t specified, the gzip filter defaults to ["text/html", "text/plain"].
In a development environment, turning gzip compression on might not be a good idea since it makes debugging a little harder (for example, if you like to sniff the HTTP flow).