File: squidclient.1

package info (click to toggle)
squid 1.1.21-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,828 kB
  • ctags: 3,705
  • sloc: ansic: 34,400; sh: 1,975; perl: 899; makefile: 559
file content (48 lines) | stat: -rw-r--r-- 1,286 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH SQUIDCLIENT 1 "Mar 1998" "Squid Cache" "Debian Linux"
.SH NAME
squidclient -- client interface to the squid cache
.SH SYNOPSIS
.B squidclient
.RB [ \-r ]
.RB [ \-s ]
.RB [ \-i
.IR IMS ]
.RB [ \-h
.IR host ]
.RB [ \-p
.IR port ]
.RB [ \-m
.IR method ]
.B url
.SH DESCRIPTION
.B Squidclient
is a command line interface to retrieve URLs through the squid object cache.
.SH OPTIONS
.IP -r
Force cache to reload URL.
.IP -s
Silent.  Do not print data to stdout.
.IP -i \fIIMS\fP
If-Modified-Since time (in Epoch seconds).
.IP -h \fIhost\fP
Retrieve URL from cache on hostname.  Default is localhost.
.IP -p \fIport\fP
Port number of cache.  Default is 3128.
.IP -m \fImethod\fP
Request method, default is GET. Squid also supports a non-standard method
called \fBPURGE\fP. You can use that to purge a specific URL from the cache.
You need to have \fIpurge\fP access setup in squid.conf similar to
\fImanager\fP access. Here is an example:
.nf

      acl purge method PURGE
      http_access deny  purge !localhost
.fi

.SH SEE ALSO
squid(8).
.SH AUTHOR
Derived from Harvest. Further developed by by numerous individuals from
the internet community. Development is led by Duane Wessels of the
National Laboratory for Applied Network Research and funded by
the National Science Foundation.