any Idea to get Cache out with lan speed 100m

i need the cache out to the user Without speed Limitation

this mt server info

mark cached contents by mangle Rule.
(change dscp to yours cache dscp)
/ip firewall mangle
add action=mark-packet chain=output comment=“cache hit” disabled=no dscp=12
new-packet-mark=cache-hits passthrough=nocreate an queue tree which will send cache-hits packets to users at full LAN speed
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name=“unlimited speed for cache hit” packet-mark=cache-hits
parent=global priority=8 queue=default

hi
i do exactly as u said , but
there is no traffic in this mangle rules
does this work with hotspot users?
i’v already asked for some thing like that
http://forum.mikrotik.com/t/again-question-about-cache-pleas-help/76802/1

would you pleas help me

Any updated on this? I am having the same problem. There are a number of posts with this type of problem but the ones I’ve found don’t have a resolution.

I can’t get mangle to see the dscp of the mikrotik cache.

I have tried a lot of different things but no luck. If I remove the DSCP value from the mangle I do see traffic on it. And YES I am getting proxy hits!

 

/ip firewall mangle print
 0   ;;; proxy HIT
     chain=output action=mark-packet new-packet-mark=proxy-hit passthrough=no 
     out-interface=bridge2 dscp=4 

/ip proxy print
                 enabled: yes
             src-address: ::
                    port: 8321
               anonymous: no
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
     cache-administrator: sys admin
          max-cache-size: unlimited
   max-cache-object-size: 2048KiB
           cache-on-disk: yes
  max-client-connections: 2000
  max-server-connections: 2000
          max-fresh-time: 4w2d
   serialize-connections: no
       always-from-cache: no
          cache-hit-dscp: 4
             cache-drive: usb1

Here are some stats shortly after a router reboot to see if that helped. It didn’t.

Uptime 00:05:26
Requests 123
Hits 3
Cache Used 2 021 580 KiB
Total RAM Used 1 509 KiB
Received From Servers 2 738 KiB
Sent To Clients 3 020 KiB
Hits Sent To Clients 254 KiB

here in pakistan cache is very importan . sad to say no support in rb :confused:

Im using this configuration :

/ip firewall mangle
add action=mark-packet chain=output comment="CACHE HIT -dscp4" dscp=4 new-packet-mark=\
    cache-hits out-interface=hotspot passthrough=no
add action=mark-packet chain=output comment="CACHE HIT - L7 hits" layer7-protocol=\
    httpcachehit new-packet-mark=cache-hits out-interface=hotspot passthrough=no
add action=mark-packet chain=output comment="CACHE HIT -X-Cache: HIT" content=\
    "X-Cache: HIT" new-packet-mark=cache-hits out-interface=hotspot passthrough=no

and layer7

/ip firewall layer7-protocol
add name=httpcachehit regexp=\
    "http/(0\\.9|1\\.0|1\\.1)[\\x09-\\x0d ][1-5][0-9][0-9][\\x09-\\x0d -~]*(x-cache: hit)"

And queue tree

/queue tree
add comment="Cache Hit Queue" name="Max Speed for CACHED files" packet-mark=cache-hits parent=global \
    queue=default

and there is some bandwith growning … most from layer7