Cache pass not working even with wiki steps

hay,
I follow the steps in
Queue with Masquerading and internal web proxy
and still when i want pass any file from cache itss till limited and not pass

My setting here please advise


[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; 1
chain=srcnat action=masquerade src-address=10.0.0.0/23 out-interface=ll

1 ;;; 3
chain=dstnat action=redirect to-ports=3128 src-address=10.0.0.0/23 in-interface=internal dst-port=80 protocol=tcp
[admin@MikroTik] /ip firewall nat>


[admin@MikroTik] /ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Hit Traffic from proxy
chain=output action=mark-packet new-packet-mark=proxy-hit passthrough=no out-interface=internal dscp=4

1 ;;; 7 Up Traffic
chain=prerouting action=mark-packet new-packet-mark=test-up passthrough=no src-address=10.0.0.0/23
in-interface=internal

2 ;;; 8 Conn-Mark
chain=forward action=mark-connection new-connection-mark=test-conn passthrough=yes src-address=10.0.0.0/23

3 ;;; 9 Down-Direct Connection
chain=forward action=mark-packet new-packet-mark=test-down passthrough=no in-interface=ll connection-mark=test-conn

4 ;;; 10 Down-Via proxy
chain=output action=mark-packet new-packet-mark=test-down passthrough=no dst-address=10.0.0.0/23
out-interface=internal




admin@MikroTik] /queue tree> print
Flags: X - disabled, I - invalid
0 name=“downstream” parent=internal packet-mark=test-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

1 name=“upstream” parent=global-in packet-mark=test-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

2 X name=“downstream2” parent=wireless packet-mark=test-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s



admin@MikroTik] /ip proxy> print
enabled: yes
src-address: 0.0.0.0
port: 3128
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-drive: system
cache-administrator: “webmaster”
max-cache-size: unlimited
cache-on-disk: yes
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 4w2d
serialize-connections: yes
always-from-cache: yes
cache-hit-dscp: 4

Queue Simple

0 D name=“hs-” dst-address=0.0.0.0/0 interface=internal parent=none direction=both priority=8
queue=hotspot-default/hotspot-default limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s total-queue=default-small

1 D name=“hs-” dst-address=0.0.0.0/0 interface=wireless parent=none direction=both priority=8
queue=hotspot-default/hotspot-default limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s total-queue=default-small

Where do you have queue, which is limiting other traffic ?
All queues are with limit=0, which should limit traffic.


Queue Simple

0 D name=“hs-” dst-address=0.0.0.0/0 interface=internal parent=none direction=both priority=8
queue=hotspot-default/hotspot-default limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s total-queue=default-small

1 D name=“hs-” dst-address=0.0.0.0/0 interface=wireless parent=none direction=both priority=8
queue=hotspot-default/hotspot-default limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s total-queue=default-small



hay,
I follow the steps in
Queue with Masquerading and internal web proxy
and still when i want pass any file from cache itss till limited and not pass

My setting here please advise


[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; 1
chain=srcnat action=masquerade src-address=10.0.0.0/23 out-interface=ll

1 ;;; 3
chain=dstnat action=redirect to-ports=3128 src-address=10.0.0.0/23 in-interface=internal dst-port=80 protocol=tcp
[admin@MikroTik] /ip firewall nat>


[admin@MikroTik] /ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Hit Traffic from proxy
chain=output action=mark-packet new-packet-mark=proxy-hit passthrough=no out-interface=internal dscp=4

1 ;;; 7 Up Traffic
chain=prerouting action=mark-packet new-packet-mark=test-up passthrough=no src-address=10.0.0.0/23
in-interface=internal

2 ;;; 8 Conn-Mark
chain=forward action=mark-connection new-connection-mark=test-conn passthrough=yes src-address=10.0.0.0/23

3 ;;; 9 Down-Direct Connection
chain=forward action=mark-packet new-packet-mark=test-down passthrough=no in-interface=ll connection-mark=test-conn

4 ;;; 10 Down-Via proxy
chain=output action=mark-packet new-packet-mark=test-down passthrough=no dst-address=10.0.0.0/23
out-interface=internal




admin@MikroTik] /queue tree> print
Flags: X - disabled, I - invalid
0 name=“downstream” parent=internal packet-mark=test-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

1 name=“upstream” parent=global-in packet-mark=test-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

2 X name=“downstream2” parent=wireless packet-mark=test-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

Thabks sergejs for your reply.
Ok i follow many guides and my final setting now like these


/ip hotspot profile
set default dns-name=“” hotspot-address=0.0.0.0 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
default rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name=“” hotspot-address=10.0.0.1 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
HotspotSerProInternal rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name=“” hotspot-address=10.0.5.1 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
HotspotSerProWireless rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no use-radius=no


/ip hotspot user profile
set default idle-timeout=none incoming-packet-mark=test-down keepalive-timeout=2m name=default outgoing-packet-mark=
test-up shared-users=1 status-autorefresh=1m transparent-proxy=no
add advertise=yes advertise-interval=1h advertise-timeout=immediately advertise-url=http://10.0.0.1/dec.htm idle-timeout=
none keepalive-timeout=none name=pay open-status-page=always shared-users=1 status-autorefresh=1m transparent-proxy=
yes
add advertise=yes advertise-interval=0s advertise-timeout=immediately advertise-url=http://10.0.0.1/dec1.htm
idle-timeout=1m keepalive-timeout=none name=ENDED open-status-page=always shared-users=1 status-autorefresh=1m
transparent-proxy=yes

/ip pool
add name=poolinternal ranges=10.0.0.2-10.0.1.254
add name=poolwireless ranges=10.0.4.2-10.0.5.254

/ip dhcp-server
add address-pool=poolinternal authoritative=after-2sec-delay bootp-support=static disabled=no interface=internal
lease-time=3d name=dhcp1
add address-pool=poolwireless authoritative=after-2sec-delay bootp-support=static disabled=no interface=wireless
lease-time=3d name=dhcp2

/ip hotspot
add address-pool=poolinternal addresses-per-mac=1 disabled=no idle-timeout=none interface=internal keepalive-timeout=none
name=hotspotinternal profile=HotspotSerProInternal
add address-pool=poolwireless addresses-per-mac=1 disabled=no idle-timeout=none interface=wireless keepalive-timeout=none
name=hotspotwireless profile=HotspotSerProWireless

/queue interface
set ll queue=ethernet-default
set internal queue=ethernet-default
set wireless queue=ethernet-default

/queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 red-limit=60
red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
add kind=pcq name=pcq-download pcq-classifier=dst-address pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-upload pcq-classifier=src-address pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10

/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“” direction=both disabled=yes dst-address=0.0.0.0/0
interface=internal limit-at=0/0 max-limit=256000/1000000 name=Limit-Local parent=none priority=8 queue=
pcq-upload/pcq-download target-addresses=10.0.0.0/23 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“” direction=both disabled=yes dst-address=0.0.0.0/0
interface=wireless limit-at=0/0 max-limit=256000/1000000 name=queue1 parent=none priority=8 queue=
pcq-upload/pcq-download target-addresses=10.0.4.0/23 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=0/0 max-limit=64000/64000 name=p2p p2p=all-p2p parent=none priority=8 queue=
default-small/default-small total-queue=default-small

/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=downstream packet-mark=
test-down parent=internal priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2000000 name=upstream packet-mark=
test-up parent=global-in priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=downstream2 packet-mark=
test-down parent=wireless priority=8 queue=default

/ip address
add address=10.0.0.1/23 broadcast=10.0.1.255 comment=“added by setup” disabled=no interface=internal network=10.0.0.0
add address=10.0.5.1/23 broadcast=10.0.5.255 comment=“added by setup” disabled=no interface=wireless network=10.0.4.0
add address=192.168.1.147/24 broadcast=192.168.1.255 comment=“added by setup” disabled=no interface=ll network=
192.168.1.0

/ip dhcp-server network
add address=10.0.0.0/23 comment=“added by setup” dns-server=208.67.222.222,208.67.220.220 gateway=10.0.0.1
add address=10.0.4.0/23 comment=“added by setup” dns-server=208.67.222.222,208.67.220.220 gateway=10.0.5.1

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 primary-dns=208.67.222.222
secondary-dns=208.67.220.220


/ip firewall mangle
add action=mark-packet chain=output comment=“Hit Traffic from proxy” disabled=no dscp=0 new-packet-mark=proxy-hit
out-interface=internal passthrough=no
add action=mark-packet chain=output comment=“Hit Traffic from proxy” disabled=no dscp=0 new-packet-mark=proxy-hit
out-interface=wireless passthrough=no
add action=mark-packet chain=prerouting comment=“7 Up Traffic” disabled=no in-interface=internal new-packet-mark=test-up
passthrough=no src-address=10.0.0.0/23
add action=mark-packet chain=prerouting comment=“7 Up Traffic” disabled=no in-interface=wireless new-packet-mark=test-up
passthrough=no src-address=10.0.4.0/23
add action=mark-connection chain=forward comment=“8 Conn-Mark” disabled=no new-connection-mark=test-conn passthrough=yes
src-address=10.0.0.0/23
add action=mark-connection chain=forward comment=“8 Conn-Mark” disabled=no new-connection-mark=test-conn passthrough=yes
src-address=10.0.4.0/23
add action=mark-packet chain=forward comment=“9 Down-Direct Connection” connection-mark=test-conn disabled=no
in-interface=ll new-packet-mark=test-down passthrough=no
add action=mark-packet chain=output comment=“10 Down-Via proxy” disabled=no dst-address=10.0.0.0/23 new-packet-mark=
test-down out-interface=internal passthrough=no
add action=mark-packet chain=output comment=“10 Down-Via proxy” disabled=no dst-address=10.0.4.0/23 new-packet-mark=
test-down out-interface=wireless passthrough=no

/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=“place hotspot rules here” disabled=yes
add action=masquerade chain=srcnat comment=1 disabled=no out-interface=ll src-address=10.0.0.0/23
add action=masquerade chain=srcnat comment=1 disabled=no out-interface=ll src-address=10.0.4.0/23
add action=redirect chain=dstnat comment=3 disabled=no dst-port=80 in-interface=internal protocol=tcp src-address=10.0.0.0/23 to-ports=3128
add action=redirect chain=dstnat comment=3 disabled=no dst-port=80 in-interface=wireless protocol=tcp src-address=10.0.4.0/23 to-ports=3128

/ip hotspot user
add comment=“” disabled=no name=admin password=XXXX profile=default server=hotspotinternal

/ip proxy
set always-from-cache=yes cache-administrator=webmaster cache-drive=system cache-hit-dscp=0 cache-on-disk=yes enabled=yes
max-cache-size=unlimited max-client-connections=600 max-fresh-time=4w2d max-server-connections=600 parent-proxy=
0.0.0.0 parent-proxy-port=0 port=3128 serialize-connections=yes src-address=0.0.0.0

/ip route
add comment=“added by setup” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10

\

Do you think its right setting becuase its seems works fine with me until now but i dont know if these setting will make all users get equal bandiwth for un cached files (internet)?