![]()
From: Mustafa Özbakır (mozbakir@deba.com.tr)
Date: Thu 22 May 2003 - 15:10:20 EEST
Merhaba;
Stopping squid: 2003/05/22 14:44:19| redreshAddToList: Unknown option =
'\.gif$': \override-expire
2003/05/22 14:44:19| redreshAddToList: Unknown option '\.jpg$': =
\override-expire
2003/05/22 14:44:19| redreshAddToList: Unknown option '.': \
Asagidaki satirlari ekledim ama yukardaki hatalari verdi nasil fix =
edebilirim?
Mustafa =D6zbak=FDr
-----Original Message-----
From: ILKER FICICILAR [mailto:ilkerf@isbank.net.tr]=20
Sent: Thursday, May 22, 2003 1:27 PM
To: linux-sohbet@liste.linux.org.tr
Subject: [linux-sohbet] Squide Mesir Macunu was: Re: Re: TTnet evlere =
senlik
"Dayan squid'im dayan" demek isteyenler i=E7in:
A)
# TAG: cache_peer
# To specify other caches in a hierarchy, use the format:
#
# cache_peer hostname type http_port icp_port
T=FCrk=E7esi:
cache_peer venus1.ttnet.net.tr sibling 8080 3130
cache_peer venus2.ttnet.net.tr sibling 8080 3130
ya da g=FC=E7lerinizi birlestirebileceginiz baska proxy'lerle.
B)
# TAG: maximum_object_size (bytes)
# value is specified in kilobytes, and the default is 4MB. If
# you wish to get a high BYTES hit ratio, you should probably
# increase this (one 32 MB object hit counts for 3200 10KB
#
maximum_object_size 16384 KB=20
C)
# TAG: cache_replacement_policy
# The cache replacement policy parameter determines which
# objects are evicted (replaced) when disk space is needed.
#
# The heap GDSF policy optimizes object hit rate by keeping
# smaller popular objects in cache so it has a better chance of
# getting a hit. It achieves a lower byte hit rate than LFUDA
# though since it evicts larger (possibly popular) objects.
#
# The heap LFUDA policy keeps popular objects in cache regardless
# of their size and thus optimizes byte hit rate at the expense of
# hit rate since one large, popular object will prevent many =20
# smaller, slightly less popular objects from being cached. =20
#
cache_replacement_policy heap GDSF
D)
# TAG: refresh_pattern
# usage: refresh_pattern [-i] regex min percent max [options]
#
# options: override-expire
# override-lastmod
# reload-into-ims=20
# ignore-reload =20
#
# override-expire enforces min age even if the server
# sent a Expires: header. Doing this VIOLATES the HTTP
# standard. Enabling this feature could make you liable
# for problems which it causes.
#
# override-lastmod enforces min age even on objects
# that was modified recently.
#
# reload-into-ims changes client no-cache or ``reload''
# to If-Modified-Since requests. Doing this VIOLATES the
# HTTP standard. Enabling this feature could make you =20
# liable for problems which it causes.
#
# ignore-reload ignores a client no-cache or ``reload''
# header. Doing this VIOLATES the HTTP standard. Enabling
# this feature could make you liable for problems which =20
# it causes.
refresh_pattern \.gif$ 10080 100% 43200 \
override-expire=20
refresh_pattern \.jpg$ 10080 100% 43200 \=20
override-expire=20
refresh_pattern cgi-bin 1 20% 2
refresh_pattern \.asp$ 1 20% 2
refresh_pattern \.acgi$ 1 20% 2
refresh_pattern \.cgi$ 1 20% 2
refresh_pattern \.pl$ 1 20% 2
refresh_pattern \.shtml$ 1 20% 2
refresh_pattern \.php3$ 1 20% 2
refresh_pattern \.php$ 1 20% 2=20
refresh_pattern \? 1 20% 2
refresh_pattern . 960 90% 43200 \
reload-into-ims ignore-reload
--=20
![]()