Skip to main content

Posts

Showing posts from January, 2013

Managing Squid NOT cache some servers or URLs?

Januari 12, 2013. Sekuro - This Quote from wiki.squid-cache.org because i have problem with my site because if im update content. my content not published so im read wiki squid and found this tips. From Squid-2.6, you use the cache option to specify uncachable requests and any exceptions to your cachable rules. For example, this makes all responses from origin servers in the 10.0.1.0/24 network uncachable: acl localnet dst 10.0.1.0/24 cache deny localnet  This example makes all URL's with '.html' uncachable: acl HTML url_regex .html$ cache deny HTML  This example makes a specific URL uncachable: acl XYZZY url_regex ^http://www.i.suck.com/foo.html$ cache deny XYZZY  This example caches nothing between the hours of 8AM to 11AM: acl Morning time 08:00-11:00 cache deny Morning http://wiki.squid-cache.org/SquidFaq/OperatingSquid?action=fullsearch&context=180&value=exclude+url&titlesearch=Titles#How_can_I_make_Squid_NOT_cache_some_se...

Implementasi Load Balancing PCC Mikrotik RB 750G

Jalan Juga Load Balancing Seperti Gambar diatas implementasi Load balancing di Router SMANSARA berjalan Lancar namun tanpa Mesin Proxy. secara konfigurasinya seperti di bawah ini. [ok@MikroTik] /ip address pr Flags: X - disabled, I - invalid, D - dynamic #   ADDRESS            NETWORK         INTERFACE 0   192.168.1.2/24     192.168.1.0     WAN1 1   10.11.12.1/28      10.11.12.0      Local     ( ke beberapa router LAB ) 2   192.168.2.1/29   192.168.2.0   WAN2 [ok@MikroTik] /ip firewall> mangle pr Flags: X - disabled, I - invalid, D - dynamic 1   chain=input action=mark-connection new-connection-mark=WAN1_conn passthrough=yes in-interface=WAN1 2   chain=input action=mark-connection new-connection-mark=WAN2_conn passthrough=yes in-interface=WAN2 3   chain=output action=mark-routing new-routing-mark=to_WAN1 passt...