It depends!
The most effective balancing balancers listen for requests, do some analysis, then redirect requests; all bits do not go through the load balancer. Network forwarding occurs at a lower network level than http (for example, this is not an HTTP 302 redirect - the client never knows what happened while maintaining confidentiality in the internal network configuration - this happens with OSI Level 4, I think).
However, some load balancers add additional features, such as acting as SSL endpoints or using gzip compression. In these cases, they process the bits as they pass (encryption / decryption or compression in this case).
Image can help. Compare the first diagram with the second and third here , noting the redirection in the first, which is absent in others.
codingoutloud Feb 15 '12 at 2:12 2012-02-15 02:12
source share