ACE 4710 & gzip compression

Unanswered Question
Aug 31st, 2009

Hi all

I have a small problem with our 4710 (ver A3 2.2). We have enabled compression for a site, and have removed the excluded MIME types for .js and .css files from the "default-compression-exclusion-mime-type" class-map. However, all .js files are being sent uncompressed (the .css files are being compressed though).

Any ideas why this would be happening?

Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Gilles Dufour Tue, 09/01/2009 - 00:51

You need to specify the mime-type of the JS file.

switch/Admin(config-parammap-http)# compress ?

mimetype Configure mime-type to compress

minimum-size Configure minimum body size to compress

user-agent Configure user-agent not to compress

We only compress traffic matching the correct mimetype (default is text) and the minimum size of 512 bytes.

minimum size : 512

mimetype : [Tt][Ee][Xx][Tt]/.*

Gilles.

Actions

This Discussion