ACL To Deny Cache pdf files

Hi ppl,

i’m noob in haproxy and i’m having a bit difficulty to understand ACL deny’s

I need to deny the cache of any requests with type PDF and go direct to banckend servers.

Thanks in advance
PJ

Hi,

Could you share your config please, in my head I think if using the inbuilt cache function in HAProxy then it should be used as a “small object” cache so too small to cache a PDF… However, I imagine you can do something with ACL’s and headers to fix this if needed but I really need to think on it once I understand your issue better.