Forum Discussion

Rohit_Singla_17's avatar
Rohit_Singla_17
Icon for Nimbostratus rankNimbostratus
Aug 18, 2016

HTTP Compression with Stream Profile for Rewrites

Hello Experts, I am using a stream profiles for some URI rewrites and because of that I am bound to remove the Accept-Encoding Header. And Because of that I am losing the compression of the content being sent from F5 to client browser. Can you advise a best approach to tackle this. I want to send compressed data (gzip etc..) to client browser, while using the stream profiles...

 

  • Hi Rohit,

    you could use a HTTP-Compression Profile instead of the

    HTTP::header remove "Accept-Encoding"
    command to remove the Accept-Encoding header on the server side (Profile Option: Keep Accept Encoding = Disabled). By doing this, you can STREAM the content without losing a client side compression.

    Cheers, Kai