Compression and the Genero Application Server

Compression is enabled by default for the Genero Application Server. You can disable compression on selected resources or for the entire Genero Application Server.

Compression in the Genero Application Server is managed by the configuration file $FGLASDIR/etc/imt.cfg. This file lists the type of resources that can be compressed. To compress static files, use the gasadmin -z command. The Genero Application Server can also compress the files on the fly for each response it sends. Both use the imt.cfg file to identify what resources can be compressed.

To disable compression for a specific resource, place a '-' sign at the beginning of that resource in the listing. For example:
- application/java-archive  jar

To disable all compression by the Genero Application Server, uncomment the gas:disable-compression entry in the file.

Compression enabled (entry is a comment; default):
# gas:disable-compression
Compression disabled (entry is not a comment):
gas:disable-compression