---
title: "Is it possible to configure the tomcat GZIP compression for assets?"
url: "https://academy.jahia.com/sites/academy/contents/knowledge-base/2025/is-it-possible-to-configure-the-tomcat-gzip-compression-for-asse.html"
last_updated: 2026-10-01
---

# Is it possible to configure the tomcat GZIP compression for assets?

System administrator Jahia 8.2

## Question

Is it possible to configure the tomcat GZIP compression for assets?

## Answer

By default, the compression is already activated in the file TOMCAT_HOME/conf/server.xml:

```
    <Connector port="8080" protocol="HTTP/1.1"
               redirectPort="8443"
               maxThreads="300" acceptCount="100"
               compression="on"
               compressibleMimeType="text/plain,text/html,text/xml,text/css,text/javascript,application/x-javascript,application/javascript,application/json,application/xml" />
```

If you need to alter this configuration, you can modify the connector accordingly to [this official Apache Tomcat documentation](https://tomcat.apache.org/tomcat-5.5-doc/config/http.html#Standard_Implementation) then restart Jahia.
