http_port 8080 icp_port 3130 cache_peer 202.134.0.155 parent 8080 3130 default no-query hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY # ganti sama 1/3 jumlah memori fisik server cache_mem 256 MB cache_swap_low 90 cache_swap_high 95 cache_replacement_policy heap GDSF memory_replacement_policy heap GDSF # ganti sama lokasi direktori cache cache_dir diskd /cache 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache1 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache2 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache3 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache4 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache5 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache6 6000 14 256 Q1=64 Q2=72 cache_dir diskd /cache7 6000 14 256 Q1=64 Q2=72 cache_effective_user squid cache_effective_group squid mime_table /usr/local/squid/etc/mime.conf dns_nameservers 202.134.0.155 202.134.2.5 unlinkd_program /usr/lib/squid/unlinkd pinger_program /usr/lib/squid/pinger cache_access_log /usr/local/squid/var/logs/cache_access_log cache_log /usr/local/squid/var/logs/cache_log cache_store_log /dev/null digest_generation on digest_bits_per_entry 10 digest_rebuild_period 30 minutes digest_rewrite_period 30 minutes digest_swapout_chunk_size 6000 bytes client_persistent_connections on server_persistent_connections on pipeline_prefetch on store_dir_select_algorithm round-robin prefer_direct off acl all src 0/0 #acl $nama_warnet src $ipaddr_warnet #acl local src 202.134.0.xx/28 acl intra src 192.168.0.0/24 acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 443 563 acl Safe_ports port 80 21 280 448 591 777 443 563 808 70 210 1025-65535 acl CONNECT method CONNECT http_access allow !Safe_ports http_access allow CONNECT !SSL_ports http_access allow localhost #http_access allow $nama_warnet http_access allow intra #http_access allow local http_access allow all icp_access allow all miss_access allow all