Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACE 4710 & gzip compression

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

2 REPLIES
Cisco Employee

Re: ACE 4710 & gzip compression

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.

New Member

Re: ACE 4710 & gzip compression

Thanks Gilles, that worked perfectly.

890
Views
5
Helpful
2
Replies
CreatePlease login to create content