QoS with proxy cache not working as intended
I'm setting up a proxy/cache (squid) with QoS (HTB/prometheus) to limit the bandwidth...
It's working great, doing what it's supposed to do.
The only thing I wanna do and don't know how (don't even know if it's possible, really), is to bypass bandwidth limiting when an object is found on squid's cache.
It's 'quite simple', when the object is found on squid's cache (TCP_HIT or something), the
user downloads it at the full NIC speed (100Mbps here), otherwise (TCP_MISS eg), QoS rules are applied (limiting to 256 kbps for instance)... is it possible?
Delay_pools wouldn't help me, right? It reserves bandwidth and doesn't just limit it (to a max.), as far as I know.