I'm new and trying to play with the PURGE option which I read from https://www.varnish-cache.org/docs/3.0/tutorial/purging.html?highlight=purge
I tried to incorporate the VCL config listed in the page but somehow getting this error when I try to load the new vcl.
======================================
Message from VCC-compiler:
Expected '(' got ';'
(program line 324), at
(input Line 111 Pos 22)
purge;
---------------------#
Running VCC-compiler failed, exit 1VCL compilation failed
======================================
Here is the excerpt from my VCL config file. Any idea??
109 sub vcl_hit {
110 if (req.request == "PURGE") {
111 purge;
112 error 200 "Purged.";
113 }
114 }
115
116 sub vcl_miss {
117 if (req.request == "PURGE") {
118 purge;
119 error 200 "Purged.";
120 }
121 }