Forum Discussion

Puneet_Gupta_73's avatar
Puneet_Gupta_73
Icon for Nimbostratus rankNimbostratus
Feb 16, 2009

HTTP Profiles >> Default Content Compression text/ not compresing text/html;charset=UTF-8

We are using the http profiles for Content Compression in my application. The default Content Type configured to be compressed are text/ and application/(xml|x-javascript). The BIP IP is compressing all the required contents except the text/html and text/html;charset=UTF-8 (JSPs).

 

 

Appreciate your help in advance.

 

 

  • Check for two things:

     

    • The value for Minimum Content Length in your compression profile.
    • Verify the client request contained the header Accept-Encoding.
  • I have solution to solve this problem. In irule:

     

    when HTTP_RESPONSE { if { [HTTP::header Content-Type] contains "text/javascript;charset=UTF-8"} { HTTP::header remove Content-Encoding } }