Topic
2 replies Latest Post - ‏2012-11-08T10:50:03Z by ChrisBouchet
ChrisBouchet
ChrisBouchet
28 Posts
ACCEPTED ANSWER

Pinned topic behavior of http compression

‏2012-11-07T15:09:17Z |
Hi,

I have a question concerning the behavior of http compression in datapower
I m deploying a proxy to a webservice by configuring a WSP.
one of the requirement is to support http compression, so I can enable compression on the front side http handler, however I would like to know
  • will it still allow uncompressed requests
  • if an uncompressed requests comes in, what if i wish to forward it uncompressed to the backend ? i guess if i enable compression in the proxy settings, it will compress every outbound http flow, regardless of whether the initial request entering DP was compressed or not..

any advice ?

thanks and regards

Christophe
Updated on 2012-11-08T10:50:03Z at 2012-11-08T10:50:03Z by ChrisBouchet
  • msiebler
    msiebler
    140 Posts
    ACCEPTED ANSWER

    Re: behavior of http compression

    ‏2012-11-07T16:23:12Z  in response to ChrisBouchet
    In the WSP; compression on the front & back are distinct settings.
    So for the front; if you allow compression; then the box will accept both compressed & uncompressed data.

    For the back; we will compress the data depending on the 'Allow Compression' policy from the user agent configuration; so it can vary based on the backend.
    • ChrisBouchet
      ChrisBouchet
      28 Posts
      ACCEPTED ANSWER

      Re: behavior of http compression

      ‏2012-11-08T10:50:03Z  in response to msiebler
      Hi, thanks for your feedback,

      Is there a way to dynamically use compression on the backend flow (datapower variable, ..) depending on whether the input came in compressed ?
      If possible, i'd like the flow to be "unmodified" by the appliance and leave the choice of compression to the consumer client.

      thanks and regards

      Christophe