Community discussions

MikroTik App
 
cylent
Member
Member
Topic Author
Posts: 383
Joined: Sun May 28, 2006 10:30 am

using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 2:25 am

I'd like to know if its possible i can use my microSD card plugged into my rb433ah to cache files effectively especially youtube videos.
currently my cache settings like look this:
[admin@Mikrotik] /ip proxy> print
                 enabled: yes
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
             cache-drive: micro-sd
     cache-administrator: "webmaster"
          max-cache-size: 512000KiB
           cache-on-disk: yes
  max-client-connections: 600
  max-server-connections: 600
          max-fresh-time: 3d
   serialize-connections: no
       always-from-cache: no
          cache-hit-dscp: 4
[admin@Mikrotik] /ip proxy> 
i also added this in the cache section;
add action=allow comment=youtube disabled=no dst-host=*youtube*.com

it does show some hits but when i view a video from one computer then come to view it again from another computer it starts to load it all over again. its not storing it in the cache...

pls help?
 
npbrasil
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Wed Jun 02, 2004 8:50 am

Re: using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 5:49 am

The content is dynamic and the generate code is different for each video file. :(
 
cylent
Member
Member
Topic Author
Posts: 383
Joined: Sun May 28, 2006 10:30 am

Re: using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 11:16 am

i wasnt aware of that part ..
but isnt the video file in flv format and there is a special code on the URL? i've noticed that part doesnt change.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24609
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 11:45 am

that's only a container for the video AFAIK
No answer to your question? How to write posts
 
cylent
Member
Member
Topic Author
Posts: 383
Joined: Sun May 28, 2006 10:30 am

Re: using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 12:17 pm

ok fine. forget youtube videos.

how about regular cache like pics on a web page.

i am finding the proxy even with my above settings not working so well. it even causes slow downs some times.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24609
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 12:43 pm

depends on the proxy device speed and cache drive speed. note that these days, a very big part of the internet is server dynamically. there are no static content. all is taken from databases and served via php files, and you can't cache that. you could cache images, but that's about it.
No answer to your question? How to write posts
 
cylent
Member
Member
Topic Author
Posts: 383
Joined: Sun May 28, 2006 10:30 am

Re: using microsd to cache effectively on rb433ah

Mon Aug 25, 2008 1:34 pm

depends on the proxy device speed and cache drive speed. note that these days, a very big part of the internet is server dynamically. there are no static content. all is taken from databases and served via php files, and you can't cache that. you could cache images, but that's about it.
the device i am using is a rb433ah (800mhz) with a 2gig microsd card.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], eworm, Google [Bot] and 168 guests