Community discussions

MikroTik App
 
Ghassan
Member Candidate
Member Candidate
Topic Author
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

send any picture to web-proxy cache

Thu Mar 15, 2007 5:38 pm

Hello All,

i just wondering how can i guarantee that all pictures goes to cache so everytime i surf for example http://www.msn.com it sends all pictures to me from Web-Proxy Cache ..
does this meet my need ?
---------------------------
/ip web-proxy cache
add url=":\\.jpg$" action=allow disabled=no
add url=":\\.png$" action=allow disabled=no
add url=":\\.gif$" action=allow disabled=no
---------------------------
any idea !
I appreciate your Help

Regards,
Ghassan
 
User avatar
ashish
Long time Member
Long time Member
Posts: 546
Joined: Mon Feb 12, 2007 5:50 am
Location: Virginia, USA.

Thu Mar 15, 2007 8:43 pm

I think Wen you surf MSN the PIC which is showing in to front page will come along with HTTP Cache..I am NOt sure but u dont require the access rule
 
Ghassan
Member Candidate
Member Candidate
Topic Author
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Fri Mar 16, 2007 12:07 am

thank you but I already tried it.
Is there any idea to force all pictures that I surf as much as i can ...
i mean some of them are dynamic and most of them are static .. what i want is to put them all in cache and especially i am wondering if SSL connections are redirected to WEB-PROXY ?

my needs are to put dynamic and static pictures in cache and https connections that hold .gif and .jpg .. i want to put it in cache.

Thank you for your understanding
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Fri Mar 16, 2007 9:02 am

if you open a page, the pictures are ALREADY put in the cache, there is no need for such rules.
 
Ghassan
Member Candidate
Member Candidate
Topic Author
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Fri Mar 16, 2007 4:02 pm

normis

yes , but pictures with HTTPS are not given from Cache that is why i am asking ..

does https connections pass through cache ??
 
skynoc
Member Candidate
Member Candidate
Posts: 140
Joined: Wed Jul 07, 2004 10:20 pm
Contact:

Tue Mar 20, 2007 1:50 am

normis is right .
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Mar 20, 2007 10:23 am

it depends on what you configure in your web browser and the router. if you use transparent proxy, make sure your NAT rule also forwards the HTTPS requests to the proxy (it doesn't use the default 80 port)
 
Ghassan
Member Candidate
Member Candidate
Topic Author
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Tue Mar 20, 2007 9:51 pm

Skynoc .
Thank you but I already know that everything you surf especially for pictures is taken from cache but i want to make sure or to force cache for high level .. taken from cache since i am creating access list .

normis.
How can I forward https connection to proxy since I have 3 interfaces .

first interface = Local
2nd interface = ISP-1
3rd interface = ISP2

ISP-1 is for HTTP only that I am using .
ISP-2 is my gateway and it appears that HTTPS are coming from ISP-2 not from my web-proxy .

Thank you,
Ghassan

Who is online

Users browsing this forum: GoogleOther [Bot], Renfrew and 47 guests