⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cf.data.pre

📁 -
💻 PRE
📖 第 1 页 / 共 5 页
字号:
	The default is 8 Megabytes.cache_mem  8 MBDOC_ENDNAME: cache_swap_lowCOMMENT: (percent, 0-100)TYPE: intDEFAULT: 90LOC: Config.Swap.lowWaterMarkDOC_NONENAME: cache_swap_highCOMMENT: (percent, 0-100)TYPE: intDEFAULT: 95LOC: Config.Swap.highWaterMarkDOC_START	The low- and high-water marks for cache LRU replacement.  LRU	replacement begins when the high-water mark is reached and ends	when enough objects have been removed and the low-water mark is	reached. Defaults are 90% and 95%. If you have a large cache, 5%	could be hundreds of MB. If this is the case you may wish to	set these numbers closer together.cache_swap_low  90cache_swap_high 95DOC_ENDNAME: maximum_object_sizeCOMMENT: (bytes)TYPE: b_size_tDEFAULT: 4096 KBLOC: Config.Store.maxObjectSizeDOC_START	Objects larger than this size will NOT be saved on disk.  The	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	hits).  If you wish to increase speed more than your want to	save bandwidth you should leave this low.maximum_object_size 4096 KBDOC_ENDNAME: ipcache_sizeCOMMENT: (number of entries)TYPE: intDEFAULT: 1024LOC: Config.ipcache.sizeDOC_NONENAME: ipcache_lowCOMMENT: (percent)TYPE: intDEFAULT: 90LOC: Config.ipcache.lowDOC_NONENAME: ipcache_highCOMMENT: (percent)TYPE: intDEFAULT: 95LOC: Config.ipcache.highDOC_START	The size, low-, and high-water marks for the IP cache.ipcache_size 1024ipcache_low  90ipcache_high 95DOC_ENDNAME: fqdncache_sizeCOMMENT: (number of entries)TYPE: intDEFAULT: 1024LOC: Config.fqdncache.sizeDOC_START	Maximum number of FQDN cache entries.fqdncache_size 1024DOC_ENDCOMMENT_START LOGFILE PATHNAMES AND CACHE DIRECTORIES -----------------------------------------------------------------------------COMMENT_ENDNAME: cache_dirTYPE: cachedirDEFAULT: noneDEFAULT_IF_NONE: @DEFAULT_SWAP_DIR@ 100 16 256LOC: Config.cacheSwapDOC_START	Usage:		cache_dir Directory-Name Mbytes Level-1 Level2	You can specify multiple cache_dir lines to spread the	cache among different disk partitions.	'Directory' is a top-level directory where cache swap	files will be stored.  If you want to use an entire disk	for caching, then this can be the mount-point directory.	The directory must exist and be writable by the Squid	process.  Squid will NOT create this directory for you.	If no 'cache_dir' lines are specified, the following	default will be used: @DEFAULT_SWAP_DIR@.	'Mbytes' is the amount of disk space (MB) to use under this	directory.  The default is 100 MB.  Change this to suit your	configuration.	'Level-1' is the number of first-level subdirectories which	will be created under the 'Directory'.  The default is 16.	'Level-2' is the number of second-level subdirectories which	will be created under each first-level directory.  The default	is 256.cache_dir @DEFAULT_SWAP_DIR@ 100 16 256DOC_ENDNAME: cache_access_logTYPE: stringDEFAULT: @DEFAULT_ACCESS_LOG@LOC: Config.Log.accessDOC_START	Logs the client request activity.  Contains an entry for	every HTTP and ICP request received.cache_access_log @DEFAULT_ACCESS_LOG@DOC_ENDNAME: cache_logTYPE: stringDEFAULT: @DEFAULT_CACHE_LOG@LOC: Config.Log.logDOC_START	Cache logging file. This is where general information about	your cache's behaviour goes. You can increase the amount of data	logged to this file with the "debug_options" tag below.cache_log @DEFAULT_CACHE_LOG@DOC_ENDNAME: cache_store_logTYPE: stringDEFAULT: @DEFAULT_STORE_LOG@LOC: Config.Log.storeDOC_START	Logs the activities of the storage manager.  Shows which	objects are ejected from the cache, and which objects are	saved and for how long.  To disable, enter "none". There are	not really utilities to analyse this data, so you can safely	disable it.cache_store_log @DEFAULT_STORE_LOG@DOC_ENDNAME: cache_swap_logTYPE: stringLOC: Config.Log.swapDEFAULT: noneDOC_START	Location for the cache "swap.log."  This log file holds the	metadata of objects saved on disk.  It is used to rebuild the	cache during startup.  Normally this file resides in the first	'cache_dir' directory, but you may specify an alternate	pathname here.  Note you must give a full filename, not just	a directory. Since this is the index for the whole object	list you CANNOT periodically rotate it!	If you have more than one 'cache_dir', these swap logs will	have names such as:		cache_swap_log.00		cache_swap_log.01		cache_swap_log.02	The numbered extension (which is added automatically)	corresponds to the order of the 'cache_dir' lines in this	configuration file.  If you change the order of the 'cache_dir'	lines in this file, then these log files will NOT correspond to	the correct 'cache_dir' entry (unless you manually rename	them).  We recommend that you do NOT use this option.  It is	better to keep these log files in each 'cache_dir' directory.cache_swap_logDOC_ENDNAME: emulate_httpd_logCOMMENT: on|offTYPE: onoffDEFAULT: offLOC: Config.onoff.common_logDOC_START	The Cache can emulate the log file format which many 'httpd'	programs use.  To disable/enable this emulation, set	emulate_httpd_log to 'off' or 'on'.  The default	is to use the native log format since it includes useful	information that Squid-specific log analysers use.emulate_httpd_log offDOC_ENDNAME: mime_tableTYPE: stringDEFAULT: @DEFAULT_MIME_TABLE@LOC: Config.mimeTablePathnameDOC_START	Pathname to Squid's MIME table. You shouldn't need to change	this, but the default file contains examples and formatting	information if you do.mime_table @DEFAULT_MIME_TABLE@DOC_ENDNAME: log_mime_hdrsCOMMENT: on|offTYPE: onoffLOC: Config.onoff.log_mime_hdrsDEFAULT: offDOC_START	The Cache can record both the request and the response MIME	headers for each HTTP transaction.  The headers are encoded	safely and will appear as two bracketed fields at the end of	the access log (for either the native or httpd-emulated log	formats).  To enable this logging set log_mime_hdrs to 'on'.log_mime_hdrs offDOC_ENDNAME: useragent_logTYPE: stringLOC: Config.Log.useragentDEFAULT: noneDOC_START	If configured with the "--enable-useragent_log" configure	option, Squid will write the User-Agent field from HTTP	requests to the filename specified here.  By default	useragent_log is disabled.useragent_log noneDOC_ENDNAME: pid_filenameTYPE: stringDEFAULT: @DEFAULT_PID_FILE@LOC: Config.pidFilenameDOC_START	A filename to write the process-id to.  To disable, enter "none".pid_filename @DEFAULT_PID_FILE@DOC_ENDNAME: debug_optionsTYPE: eolDEFAULT: ALL,1LOC: Config.debugOptionsDOC_START	Logging options are set as section,level where each source file	is assigned a unique section.  Lower levels result in less	output,  Full debugging (level 9) can result in a very large	log file, so be careful.  The magic word "ALL" sets debugging	levels for all sections.  We recommend normally running with	"ALL,1".debug_options ALL,1DOC_ENDNAME: log_fqdnCOMMENT: on|offTYPE: onoffDEFAULT: offLOC: Config.onoff.log_fqdnDOC_START	Turn this on if you wish to log fully qualified domain names	in the access.log. To do this Squid does a DNS lookup of all	IP's connecting to it. This can (in some situations) increase	latency, which makes your cache seem slower for interactive	browsing. log_fqdn offDOC_ENDNAME: client_netmaskTYPE: addressLOC: Config.Addrs.client_netmaskDEFAULT: 255.255.255.255DOC_START	A netmask for client addresses in logfiles and cachemgr output.	Change this to protect the privacy of your cache clients.	A netmask of 255.255.255.0 will log all IP's in that range with	the last digit set to '0'.client_netmask 255.255.255.255DOC_ENDCOMMENT_START OPTIONS FOR EXTERNAL SUPPORT PROGRAMS -----------------------------------------------------------------------------COMMENT_ENDNAME: ftp_userTYPE: stringDEFAULT: Squid@LOC: Config.Ftp.anon_userDOC_START	If you want the anonymous login password to be more informative	(and enable the use of picky ftp servers), set this to something	resonable for your domain, like wwwuser@somewhere.net	The reason why this is domainless by default is that the	request can be made on the behalf of a user in any domain,	depending on how the cache is used.	Some ftp server also validate that the email address is valid	(for example perl.com).ftp_user Squid@DOC_ENDNAME: ftp_list_widthTYPE: size_tDEFAULT: 32LOC: Config.Ftp.list_widthDOC_START	Sets the width of ftp listings. This should be set to fit in	the width of a standard browser. Setting this too small	can cut off long filenames when browsing ftp sites.ftp_list_width 32DOC_ENDNAME: cache_dns_programTYPE: stringDEFAULT: @DEFAULT_DNSSERVER@LOC: Config.Program.dnsserverDOC_START	Specify the location of the executable for dnslookup process.cache_dns_program @DEFAULT_DNSSERVER@DOC_ENDNAME: dns_childrenTYPE: intDEFAULT: 5LOC: Config.dnsChildrenDOC_START	The number of processes spawn to service DNS name lookups.	For heavily loaded caches on large servers, you should	probably increase this value to at least 10.  The maximum	is 32.  The default is 5.	To disable dnsservers, set this to 0.  NOTE, this is very	strongly discouraged.  If you disable dnsservers your Squid	process will BLOCK on DNS lookups!dns_children 5DOC_ENDNAME: dns_defnamesCOMMENT: on|offTYPE: onoffDEFAULT: offLOC: Config.onoff.res_defnamesDOC_START	Normally the 'dnsserver' disables the RES_DEFNAMES resolver	option (see res_init(3)).  This prevents caches in a hierarchy	from interpreting single-component hostnames locally.  To allow	dnsserver to handle single-component names, enable this	option.dns_defnames offDOC_ENDNAME: dns_nameserversTYPE: wordlistDEFAULT: noneLOC: Config.dns_nameserversDOC_START	Use this if you want to specify a list of DNS name servers	(IP addresses) to use instead of those given in your	/etc/resolv.conf file.	Example: dns_nameservers 10.0.0.1 192.172.0.4dns_nameservers noneDOC_ENDNAME: unlinkd_programTYPE: stringDEFAULT: @DEFAULT_UNLINKD@LOC: Config.Program.unlinkdDOC_START	Specify the location of the executable for file deletion process.	This isn't needed if you are using async-io since it's handled by	a thread.unlinkd_program @DEFAULT_UNLINKD@DOC_ENDNAME: pinger_programTYPE: stringDEFAULT: @DEFAULT_PINGER@LOC: Config.Program.pingerDOC_START	Specify the location of the executable for the pinger process.	This is only useful if you configured Squid (during compliation)	with the '--enable-icmp' option.pinger_program @DEFAULT_PINGER@DOC_ENDNAME: redirect_programTYPE: stringLOC: Config.Program.redirectDEFAULT: noneDOC_START	Specify the location of the executable for the URL redirector.	Since they can perform almost any function there isn't one included.	See the Release-Notes for information on how to write one.	By default, a redirector is not used.redirect_program noneDOC_ENDNAME: redirect_childrenTYPE: intDEFAULT: 5LOC: Config.redirectChildrenDOC_START	The number of redirector processes to spawn. If you start	too few Squid will have to wait for them to process a backlog of	URLs, slowing it down. If you start too many they will use RAM	and other system resources.redirect_children 5DOC_ENDNAME: redirect_rewrites_host_headerTYPE: onoffDEFAULT: onLOC: Config.onoff.redir_rewrites_hostDOC_START	By default Squid rewrites any Host: header in redirected requests.	If you are running a accelerator then this may not be a wanted effect	of a redirector.redirect_rewrites_host_header onDOC_ENDNAME: authenticate_programTYPE: wordlistLOC: Config.Program.authenticateDEFAULT: noneDOC_START

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -