OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: Taomyn on August 23, 2019, 10:08:52 pm

Title: Does HAProxy cache?
Post by: Taomyn on August 23, 2019, 10:08:52 pm
I have an internal webmail service I'm using HAProxy with, but I'm having issues with it - I have several other webservices that all work fine except for this one. I've been asked by the developer about HAProxy and if it caches, but I don't know exactly how to check this.


So does HAProxy cache and can it be disabled?
Title: Re: Does HAProxy cache?
Post by: hbc on August 24, 2019, 09:24:45 pm
haproxy is a load balancer and reverse proxy. It does not cache.

Check your http2 settings. Do not enable them in haproxy if back-end servers do not support it. At least firefox has problems with this protocol mismatch
Title: Re: Does HAProxy cache?
Post by: Taomyn on August 26, 2019, 09:56:51 am
haproxy is a load balancer and reverse proxy. It does not cache.

Check your http2 settings. Do not enable them in haproxy if back-end servers do not support it. At least firefox has problems with this protocol mismatch


Thanks for the confirmation and the tip - HTTP2 was indeed enabled and disabling it suddenly made my webmail application work again. But I've been here before and it may stop working again a few days later. I have notified the developer and will see how it goes.