[squid-users] Speed ​​limit from file size

Michael Pro michael.adm at gmail.com
Wed Jun 20 19:44:28 UTC 2018

Is it possible to limit the speed of receiving the file to the client
depending on the file size?
Let's say,
file =<1MB client download with 400Kbit/s
file 1MB...5MB client donload with 4Mbit/s
file >5MB - no speed limit

I try fore some settings
delay_pools 1
delay_class 1 2
delay_access 1 allow storeid_app_2
delay_access 1 allow storeid_app_6
delay_access 1 deny all
delay_parameters 1 -1/-1 50000/1000000
delay_parameters 1 -1/-1 500000/5000000
delay_parameters 1 -1/-1 -1/-1
but it does't work

Can some method take place to solve this problem?

More information about the squid-users mailing list