Mailing List Archive

r1827 - in trunk/varnish-cache: bin/varnishd man
Author: des
Date: 2007-08-10 11:36:42 +0200 (Fri, 10 Aug 2007)
New Revision: 1827

Modified:
trunk/varnish-cache/bin/varnishd/mgt_vcc.c
trunk/varnish-cache/man/vcl.7
Log:
Document purge_url / purge_hash


Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2007-08-10 09:33:39 UTC (rev 1826)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2007-08-10 09:36:42 UTC (rev 1827)
@@ -182,7 +182,7 @@
len = snprintf(buf, sizeof buf,
"ln -f %s _.c ;" /* XXX: for debugging */
#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
"exec cc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1",
#endif

Modified: trunk/varnish-cache/man/vcl.7
===================================================================
--- trunk/varnish-cache/man/vcl.7 2007-08-10 09:33:39 UTC (rev 1826)
+++ trunk/varnish-cache/man/vcl.7 2007-08-10 09:36:42 UTC (rev 1827)
@@ -28,7 +28,7 @@
.\"
.\" $Id$
.\"
-.Dd August 3, 2007
+.Dd August 10, 2007
.Dt VCL 7
.Os
.Sh NAME
@@ -136,9 +136,12 @@
is replaced with the contents of subgroup
.Ar n
in the matched string.
-.It Fn purge "regex"
-Purge all objects in cache matching
+.It Fn purge_hash "regex"
+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 .
.El
.Ss Subroutines
A subroutine is used to group code for legibility or reusability: