LSLB and gzip compression?

Discussion in 'General' started by Mikra, Mar 14, 2015.

  1. Mikra

    Mikra Active Member

    I can enable gzip compression on the load balancer or on the http nodes. But I'm not sure what is best?

    If I enable http compression on the nodes, I can have litespeed webserver cache gzip compressed files.
    If I enable http compression on the load balancer, I cannot have a cache (not supported until lslb 2.0).

    But what happens if I disabled compression on lslb and enable it on the nodes? Will lslb just pass the compressed pages? Or will lslb server uncompressed pages to the visitors?
  2. mistwang

    mistwang LiteSpeed Staff

    lslb will pass through the compressed page.
  3. gdewey

    gdewey Well-Known Member

    gzip compression takes resources..

    in your recommendation as I understand having the compression in the webserver is better in terms of performance?
  4. mistwang

    mistwang LiteSpeed Staff

    Yes, less data travels between LB and server will produce better result

Share This Page