OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Does HAProxy cache?
« previous next »
  • Print
Pages: [1]

Author Topic: Does HAProxy cache?  (Read 2380 times)

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Does HAProxy cache?
« 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?
Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: Does HAProxy cache?
« Reply #1 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
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: Does HAProxy cache?
« Reply #2 on: August 26, 2019, 09:56:51 am »
Quote from: 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


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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Does HAProxy cache?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2