Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
proxy - cache - co cache'uje http://forum.freesco.pl/viewtopic.php?f=35&t=837 |
Strona 1 z 1 |
Autor: | Anonymous [ środa, 13 listopada 2002, 15:37 ] |
Tytuł: | proxy - cache - co cache'uje |
Witam 1. Co tak naprawdę cache'uje proxy? 2. Czy tylko strony, czy też pliki sciagane przez ftp? I jeszcze jedno pytanko: 3. Czy w opcjach przegladarki powinno sie zaznaczyc: "Użyj tego samego servera proxy dla wszystkich protokołów" ? Pozdrawiam Radzik |
Autor: | lamer [ środa, 13 listopada 2002, 17:08 ] |
Tytuł: | |
1. Wszystko/Nic 2. Tylko strony/pliki FTP Zależy jaki proxy i jak skonfigurowany. 3. TAK/NIE - zależy co chcesz osiągnąć! |
Autor: | Anonymous [ sobota, 29 marca 2003, 13:33 ] |
Tytuł: | squid -problemik |
Ok. konkretnie sciagam program gg ze stronki gg pierwszy raz scigam go z wlasciwego zrodla, przy drugiej probie sciagania powinno leciec z cache'u squida z perdkoscia 10/100mbps, zalezy od podlaczenia z serwerem, na ktorym jest squid, a nie leci !!! natomiast stronki smigaja lepiej czyli squid dziala, czego to moze byc wina i jak to sprawdzic ? Domyslam sie ze odpowiedzialny za to jest squid.conf ale ktora konkretnie linijka ??? Z gory dzieki za odp. |
Autor: | lamer [ sobota, 29 marca 2003, 13:45 ] |
Tytuł: | |
Zabacz jak masz ustawiony max. rozmiar pliku do cachowania! |
Autor: | Anonymous [ sobota, 29 marca 2003, 15:35 ] |
Tytuł: | |
to nie to, ustawione mam na 2048 KB i (#reply_body_max_size) czyli tez nie to, ciekawe co to moze byc ?? moze typ pliku ?? sporo przeczytalem, ale i tak nie wiem ![]() |
Autor: | lamer [ poniedziałek, 31 marca 2003, 09:26 ] |
Tytuł: | |
Ustawiasz nie to co potrzeba... Poszukaj dokumentacji squida! Interesujący cię parametr, to maximum_object_size, ktry określa maksymalną wielkość pliku, która będzie zapisywana na dysk do daleszgo użytku! |
Autor: | Anonymous [ poniedziałek, 31 marca 2003, 20:14 ] |
Tytuł: | |
a wiec po woli max mam taki maximum_object_size 2048 KB, a max do sciagania taki #reply_body_max_size 4096 KB, czyli jakby go nie bylo, wiec plik gg powinien sie miescic w tej wielkosci. http_port 3128 #icp_port 3130 #htcp_port 4827 #mcast_groups 239.128.16.128 #tcp_outgoing_address 0.0.0.0 #udp_incoming_address 0.0.0.0 #udp_outgoing_address 0.0.0.0 #cache_peer w3cache.tpnet.pl parent 8080 3130 no-digest #icp_query_timeout 0 #maximum_icp_query_timeout 2000 #mcast_icp_query_timeout 2000 #dead_peer_timeout 10 seconds #hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi cgi-bin \? no_cache deny QUERY cache_mem 100 MB #cache_swap_low 90 #cache_swap_high 95 maximum_object_size 2048 KB #ipcache_size 1024 #ipcache_low 90 #ipcache_high 95 #fqdncache_size 1024 cache_dir ufs /mnt/ext2/cache 200 16 16 #cache_access_log /mnt/opt/squid/logs/access.log #cache_log /mnt/opt/squid/logs/cache.log cache_store_log none logfile_rotate 2 #cache_swap_log #emulate_httpd_log off #mime_table /mnt/opt/squid/etc/mime.conf #log_mime_hdrs off #useragent_log none #pid_filename /mnt/opt/squid/logs/squid.pid #debug_options ALL,1 #log_fqdn off client_netmask 255.255.255.0 #ftp_user Squid@ #ftp_list_width 32 #cache_dns_program /mnt/opt/squid/bin/dnsserver #dns_children 5 #dns_defnames off dns_nameservers 127.0.0.1 194.204.159.1 194.204.152.34 #unlinkd_program /mnt/opt/squid/bin/unlinkd #pinger_program /mnt/opt/squid/bin/pinger #redirect_program none #redirect_children 5 #redirect_rewrites_host_header on #authenticate_program none #authenticate_children 5 #authenticate_ttl 3600 #authenticate_ip_ttl 0 #wais_relay_host localhost #wais_relay_port 8000 #request_header_max_size 10 KB #request_body_max_size 1 MB #reply_body_max_size 4096 KB #refresh_pattern http://www.wp.pl 0 10% 60 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 #replacement_policy LFUDA reference_age 2 weeks #quick_abort_min 16 KB #quick_abort_max 16 KB #quick_abort_pct 95 #negative_ttl 5 minutes #positive_dns_ttl 6 hours #negative_dns_ttl 5 minutes #range_offset_limit 0 KB #connect_timeout 120 seconds #peer_connect_timeout 30 seconds #siteselect_timeout 4 seconds #read_timeout 15 minutes #request_timeout 30 seconds #client_lifetime 1 day #half_closed_clients on #pconn_timeout 120 seconds #ident_timeout 10 seconds #shutdown_lifetime 30 seconds acl nasi src 192.168.0.0/255.255.255.0 acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 443 563 acl Safe_ports port 80 21 443 563 70 210 1025-65535 acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT #acl FTP proto FTP #always_direct allow FTP http_access allow manager localhost http_access deny manager http_access allow !Safe_ports http_access allow CONNECT !SSL_ports http_access allow nasi http_access deny all icp_access allow all miss_access allow all #proxy_auth_realm Squid proxy-caching web server #ident_lookup_access deny all cache_mgr arqs #cache_effective_user nobody #cache_effective_group nogroup visible_hostname host.wrzos.net #unique_hostname www-cache1.foo.org #announce_period 1 day #announce_host tracker.ircache.net #announce_port 3131 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on #dns_testnames netscape.com internic.net nlanr.net microsoft.com #append_domain .yourdomain.com #tcp_recv_bufsize 0 bytes #err_html_text #memory_pools on #forwarded_for on #log_icp_queries on #icp_hit_stale off #minimum_direct_hops 4 #cachemgr_passwd secret shutdown #cachemgr_passwd lesssssssecret info stats/objects cachemgr_passwd bzyk all #store_avg_object_size 13 KB #store_objects_per_bucket 50 #client_db on #netdb_low 900 #netdb_high 1000 #netdb_ping_period 5 minutes #query_icmp off #test_reachability off #buffered_logs off #reload_into_ims off #anonymize_headers #fake_user_agent none minimum_retry_timeout 15 seconds #maximum_single_addr_tries 3 #snmp_port 0 #snmp_access allow snmppublic localhost #snmp_access deny all #snmp_incoming_address 0.0.0.0 #snmp_outgoing_address 0.0.0.0 #wccp_router 0.0.0.0 #wccp_incoming_address 0.0.0.0 #wccp_outgoing_address 0.0.0.0 #delay_pools 0 #delay_pools 2 # 2 delay pools #delay_class 1 2 # pool 1 is a class 2 pool #delay_class 2 3 # pool 2 is a class 3 pool #delay_access 1 allow some_big_clients #delay_access 1 deny all #delay_access 2 allow lotsa_little_clients #delay_access 2 deny all #delay_parameters pool aggregate #delay_parameters pool aggregate individual #delay_parameters pool aggregate network individual #delay_parameters 1 -1/-1 8000/8000 #delay_parameters 2 32000/32000 8000/8000 600/64000 #delay_initial_bucket_level 50 #incoming_icp_average 6 #incoming_http_average 4 #min_icp_poll_cnt 8 #min_http_poll_cnt 8 #uri_whitespace strip #acl buggy_server url_regex ^http://.... #broken_posts allow buggy_server #prefer_direct on #strip_query_terms on #ignore_unknown_nameservers on #digest_bits_per_entry 5 #digest_rebuild_period 1 hour #digest_rewrite_period 1 hour #digest_swapout_chunk_size 4096 bytes #digest_rebuild_chunk_percentage 10 #cache_peer_domain w3cache.tpnet.pl !.wrzos.net !.192.168.0.1 #cache_peer_domain w3cache.icm.edu.pl !.bydgoszcz.mtl.pl !.192.168.1.1 |
Autor: | RaaDaaR [ poniedziałek, 31 marca 2003, 21:00 ] |
Tytuł: | |
ArqS pisze: cache_mgr arqs
cachemgr_passwd bzyk all To teraz zmień hasło i/lub cache magistra ![]() |
Autor: | Anonymous [ poniedziałek, 31 marca 2003, 22:02 ] |
Tytuł: | |
ale ja chce zeby cache'owal wszystko, lacznie z gg, no moze tak do 2MB, a on nie chce, brzydki squid ![]() ![]() |
Autor: | Anonymous [ wtorek, 1 kwietnia 2003, 14:32 ] |
Tytuł: | |
No wiec mam wiecej danych ![]() ![]() |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |