Commit 20f2ca57 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Document purge_url / purge_hash


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1827 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 4b25dc22
...@@ -182,7 +182,7 @@ mgt_CallCc(const char *source, struct vsb *sb) ...@@ -182,7 +182,7 @@ mgt_CallCc(const char *source, struct vsb *sb)
len = snprintf(buf, sizeof buf, len = snprintf(buf, sizeof buf,
"ln -f %s _.c ;" /* XXX: for debugging */ "ln -f %s _.c ;" /* XXX: for debugging */
#ifdef __APPLE__ #ifdef __APPLE__
"exec cc -dynamiclib -Wl,-flat_namespace,-undefined,suppress -o %s -x c - < %s 2>&1", "exec cc -dynamiclib -Wl,-undefined,dynamic_lookup -o %s -x c - < %s 2>&1",
#else #else
"exec cc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1", "exec cc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1",
#endif #endif
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
.\" .\"
.\" $Id$ .\" $Id$
.\" .\"
.Dd August 3, 2007 .Dd August 10, 2007
.Dt VCL 7 .Dt VCL 7
.Os .Os
.Sh NAME .Sh NAME
...@@ -136,8 +136,11 @@ is replaced with the entire matched string, and ...@@ -136,8 +136,11 @@ is replaced with the entire matched string, and
is replaced with the contents of subgroup is replaced with the contents of subgroup
.Ar n .Ar n
in the matched string. in the matched string.
.It Fn purge "regex" .It Fn purge_hash "regex"
Purge all objects in cache matching Purge all objects in cache whose hash strings match
.Fa regex .
.It Fn purge_url "regex"
Purge all objects in cache whose URLs match
.Fa regex . .Fa regex .
.El .El
.Ss Subroutines .Ss Subroutines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment