web proxy cache need help

Hay,
I need your help guys to solve these four question:
1-I want if any user download or browse from internet he have limited speed for upload/download according to how many users online,Example:
My speed 1m ,if there is 10 users online the speed will be 100k for each but if there 230 users online the speed will be 50k for each?
2-Reagrding first question if its possible and Mikrotik devide speed for users but if there is idle user can system give others more while there is users idle?
3-If any user try download file already available in cache ,i want he get max speed becuase he take from cahe not from internet?
4-I want cache pages and images of pages how i can do that?
Thanks all for help and am greatful for yours

  1. I would create a Queue-Tree, and put all clients’ queues within that queue tree. This will share the bandwidth equally.

  2. Answer 1 will resolve this issue

  3. In your queue list, add a queue above all other queues, with the destination of your CACHE/Proxy server’s IP as dst-address, with no limitations.

  4. Browse the forum for info on PROXY and WEBPROXY, or Google for info on Squid. I do suggest using MT’s Web Proxy and Squid as parent proxy.