<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Please annwer my question, I sent you my test</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> varnish-misc <varnish-misc-bounces+hrhosseini=hotmail.com@varnish-cache.org> on behalf of hamidreza hosseini <hrhosseini@hotmail.com><br>
<b>Sent:</b> Wednesday, December 11, 2019 11:49 PM<br>
<b>To:</b> Guillaume Quintard <guillaume@varnish-software.com><br>
<b>Cc:</b> varnish-misc@varnish-cache.org <varnish-misc@varnish-cache.org><br>
<b>Subject:</b> Re: Varnish doesnt purge</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr"><span>I do all steps now again, this is the resault:<br>
</span>
<div>STEP ONE:<br>
</div>
<div>First of all i configure a varnish (with file backend) in front of swift/Nginx and i ask the url that exist in swift with curl,<br>
</div>
<div><br>
</div>
<div>varnish-file$curl -I http://192.168.200.12:8080/Naserfeiz.mp4 -H "newtrack: yes"<br>
</div>
<div><br>
</div>
<div>HTTP/1.1 200 OK<br>
</div>
<div>Server: nginx<br>
</div>
<div>Date: Thu, 12 Dec 2019 07:29:32 GMT<br>
</div>
<div>Content-Type: text/plain<br>
</div>
<div>Content-Length: 23521499<br>
</div>
<div>Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>ETag: "3a1794b0-166e8db"<br>
</div>
<div>X-Varnish: 2<br>
</div>
<div>Age: 0<br>
</div>
<div>Via: 1.1 varnish (Varnish/6.0)<br>
</div>
<div>Accept-Ranges: bytes<br>
</div>
<div>Connection: keep-alive<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>varnish cach that object and then i purge the url:<br>
</div>
<div><br>
</div>
<div>varnish-file$ curl -v -k -X PURGE http://192.168.200.12:8080/Naserfeiz.mp4 -o /dev/null -H "newtrack: yes"<br>
</div>
<div><br>
</div>
<div>* Trying 192.168.200.12...<br>
</div>
<div> % Total % Received % Xferd Average Speed Time Time Time Current<br>
</div>
<div> Dload Upload Total Spent Left Speed<br>
</div>
<div> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 192.168.200.12 (192.168.200.12) port 8080 (#0)<br>
</div>
<div>> PURGE /Naserfeiz.mp4 HTTP/1.1<br>
</div>
<div>> Host: 192.168.200.12:8080<br>
</div>
<div>> User-Agent: curl/7.47.0<br>
</div>
<div>> Accept: */*<br>
</div>
<div>> newtrack: yes<br>
</div>
<div>> <br>
</div>
<div>< HTTP/1.1 200 Purged<br>
</div>
<div>< Date: Thu, 12 Dec 2019 07:29:16 GMT<br>
</div>
<div>< Server: Varnish<br>
</div>
<div>< X-Varnish: 32770<br>
</div>
<div>< Content-Type: text/html; charset=utf-8<br>
</div>
<div>< Retry-After: 5<br>
</div>
<div>< Content-Length: 240<br>
</div>
<div>< Accept-Ranges: bytes<br>
</div>
<div>< Connection: keep-alive<br>
</div>
<div>< <br>
</div>
<div>{ [240 bytes data]<br>
</div>
<div>100 240 100 240 0 0 124k 0 --:--:-- --:--:-- --:--:-- 234k<br>
</div>
<div>* Connection #0 to host 192.168.200.12 left intact<br>
</div>
<div><br>
</div>
<div>The object purged successfully and it didnt exist in cach anymore.<br>
</div>
<div><br>
</div>
<div>This is varnishlog resault:<br>
</div>
<div><br>
</div>
<div>varnish-file$ sudo varnishlog -d -g request<br>
</div>
<div>* << Request >> 2 <br>
</div>
<div>- Begin req 1 rxreq<br>
</div>
<div>- Timestamp Start: 1576135743.442646 0.000000 0.000000<br>
</div>
<div>- Timestamp Req: 1576135743.442646 0.000000 0.000000<br>
</div>
<div>- ReqStart 192.168.200.12 5432 a0<br>
</div>
<div>- ReqMethod HEAD<br>
</div>
<div>- ReqURL /Naserfeiz.mp4<br>
</div>
<div>- ReqProtocol HTTP/1.1<br>
</div>
<div>- ReqHeader Host: 192.168.200.12:8080<br>
</div>
<div>- ReqHeader User-Agent: curl/7.47.0<br>
</div>
<div>- ReqHeader Accept: */*<br>
</div>
<div>- ReqHeader newtrack: yes<br>
</div>
<div>- ReqHeader X-Forwarded-For: 192.168.200.12<br>
</div>
<div>- VCL_call RECV<br>
</div>
<div>- VCL_return hash<br>
</div>
<div>- VCL_call HASH<br>
</div>
<div>- VCL_return lookup<br>
</div>
<div>- VCL_call MISS<br>
</div>
<div>- VCL_return fetch<br>
</div>
<div>- Link bereq 3 fetch<br>
</div>
<div>- Timestamp Fetch: 1576135743.444347 0.001701 0.001701<br>
</div>
<div>- RespProtocol HTTP/1.1<br>
</div>
<div>- RespStatus 200<br>
</div>
<div>- RespReason OK<br>
</div>
<div>- RespHeader Server: nginx<br>
</div>
<div>- RespHeader Date: Thu, 12 Dec 2019 07:29:32 GMT<br>
</div>
<div>- RespHeader Content-Type: text/plain<br>
</div>
<div>- RespHeader Content-Length: 23521499<br>
</div>
<div>- RespHeader Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>- RespHeader ETag: "3a1794b0-166e8db"<br>
</div>
<div>- RespHeader X-Varnish: 2<br>
</div>
<div>- RespHeader Age: 0<br>
</div>
<div>- RespHeader Via: 1.1 varnish (Varnish/6.0)<br>
</div>
<div>- VCL_call DELIVER<br>
</div>
<div>- VCL_return deliver<br>
</div>
<div>- Timestamp Process: 1576135743.444382 0.001736 0.000036<br>
</div>
<div>- RespHeader Accept-Ranges: bytes<br>
</div>
<div>- RespHeader Connection: keep-alive<br>
</div>
<div>- Timestamp Resp: 1576135743.444474 0.001828 0.000092<br>
</div>
<div>- ReqAcct 112 0 112 295 0 295<br>
</div>
<div>- End <br>
</div>
<div>** << BeReq >> 3 <br>
</div>
<div>-- Begin bereq 2 fetch<br>
</div>
<div>-- VCL_use boot<br>
</div>
<div>-- Timestamp Start: 1576135743.442807 0.000000 0.000000<br>
</div>
<div>-- BereqMethod HEAD<br>
</div>
<div>-- BereqURL /Naserfeiz.mp4<br>
</div>
<div>-- BereqProtocol HTTP/1.1<br>
</div>
<div>-- BereqHeader Host: 192.168.200.12:8080<br>
</div>
<div>-- BereqHeader User-Agent: curl/7.47.0<br>
</div>
<div>-- BereqHeader Accept: */*<br>
</div>
<div>-- BereqHeader newtrack: yes<br>
</div>
<div>-- BereqHeader X-Forwarded-For: 192.168.200.12<br>
</div>
<div>-- BereqMethod GET<br>
</div>
<div>-- BereqHeader Accept-Encoding: gzip<br>
</div>
<div>-- BereqHeader X-Varnish: 3<br>
</div>
<div>-- VCL_call BACKEND_FETCH<br>
</div>
<div>-- VCL_return fetch<br>
</div>
<div>-- BackendOpen 27 boot.swift_proxy_1 192.168.200.11 8080 192.168.200.12 6846<br>
</div>
<div>-- BackendStart 192.168.200.11 8080<br>
</div>
<div>-- Timestamp Bereq: 1576135743.443586 0.000779 0.000779<br>
</div>
<div>-- Timestamp Beresp: 1576135743.444017 0.001210 0.000431<br>
</div>
<div>-- BerespProtocol HTTP/1.1<br>
</div>
<div>-- BerespStatus 200<br>
</div>
<div>-- BerespReason OK<br>
</div>
<div>-- BerespHeader Server: nginx<br>
</div>
<div>-- BerespHeader Date: Thu, 12 Dec 2019 07:29:32 GMT<br>
</div>
<div>-- BerespHeader Content-Type: text/plain<br>
</div>
<div>-- BerespHeader Content-Length: 23521499<br>
</div>
<div>-- BerespHeader Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>-- BerespHeader Connection: keep-alive<br>
</div>
<div>-- BerespHeader ETag: "3a1794b0-166e8db"<br>
</div>
<div>-- BerespHeader Accept-Ranges: bytes<br>
</div>
<div>-- TTL RFC 120 10 0 1576135743 1576135743 1576135772 0 0 cacheable<br>
</div>
<div>-- VCL_call BACKEND_RESPONSE<br>
</div>
<div>-- TTL VCL 86400 10 0 1576135743 cacheable<br>
</div>
<div>-- VCL_return deliver<br>
</div>
<div>-- Storage file s0<br>
</div>
<div>-- Fetch_Body 3 length stream<br>
</div>
<div>-- BackendReuse 27 boot.swift_proxy_1<br>
</div>
<div>-- Timestamp BerespBody: 1576135743.747835 0.305028 0.303818<br>
</div>
<div>-- Length 23521499<br>
</div>
<div>-- BereqAcct 181 0 181 241 23521499 23521740<br>
</div>
<div>-- End <br>
</div>
<div><br>
</div>
<div>* << Request >> 32770 <br>
</div>
<div>- Begin req 32769 rxreq<br>
</div>
<div>- Timestamp Start: 1576135756.680792 0.000000 0.000000<br>
</div>
<div>- Timestamp Req: 1576135756.680792 0.000000 0.000000<br>
</div>
<div>- ReqStart 192.168.200.12 5438 a0<br>
</div>
<div>- ReqMethod PURGE<br>
</div>
<div>- ReqURL /Naserfeiz.mp4<br>
</div>
<div>- ReqProtocol HTTP/1.1<br>
</div>
<div>- ReqHeader Host: 192.168.200.12:8080<br>
</div>
<div>- ReqHeader User-Agent: curl/7.47.0<br>
</div>
<div>- ReqHeader Accept: */*<br>
</div>
<div>- ReqHeader newtrack: yes<br>
</div>
<div>- ReqHeader X-Forwarded-For: 192.168.200.12<br>
</div>
<div>- VCL_call RECV<br>
</div>
<div>- VCL_return purge<br>
</div>
<div>- VCL_call HASH<br>
</div>
<div>- VCL_return lookup<br>
</div>
<div>- VCL_call PURGE<br>
</div>
<div>- VCL_return synth<br>
</div>
<div>- Timestamp Process: 1576135756.680982 0.000190 0.000190<br>
</div>
<div>- RespHeader Date: Thu, 12 Dec 2019 07:29:16 GMT<br>
</div>
<div>- RespHeader Server: Varnish<br>
</div>
<div>- RespHeader X-Varnish: 32770<br>
</div>
<div>- RespProtocol HTTP/1.1<br>
</div>
<div>- RespStatus 200<br>
</div>
<div>- RespReason OK<br>
</div>
<div>- RespReason Purged<br>
</div>
<div>- VCL_call SYNTH<br>
</div>
<div>- RespHeader Content-Type: text/html; charset=utf-8<br>
</div>
<div>- RespHeader Retry-After: 5<br>
</div>
<div>- VCL_return deliver<br>
</div>
<div>- RespHeader Content-Length: 240<br>
</div>
<div>- Storage malloc Transient<br>
</div>
<div>- RespHeader Accept-Ranges: bytes<br>
</div>
<div>- RespHeader Connection: keep-alive<br>
</div>
<div>- Timestamp Resp: 1576135756.681190 0.000399 0.000208<br>
</div>
<div>- ReqAcct 113 0 113 218 240 458<br>
</div>
<div>- End <br>
</div>
<div><br>
</div>
<div>* << Request >> 32772 <br>
</div>
<div>- Begin req 32771 rxreq<br>
</div>
<div>- Timestamp Start: 1576135769.304679 0.000000 0.000000<br>
</div>
<div>- Timestamp Req: 1576135769.304679 0.000000 0.000000<br>
</div>
<div>- ReqStart 192.168.200.12 5440 a0<br>
</div>
<div>- ReqMethod HEAD<br>
</div>
<div>- ReqURL /Naserfeiz.mp4<br>
</div>
<div>- ReqProtocol HTTP/1.1<br>
</div>
<div>- ReqHeader Host: 192.168.200.12:8080<br>
</div>
<div>- ReqHeader User-Agent: curl/7.47.0<br>
</div>
<div>- ReqHeader Accept: */*<br>
</div>
<div>- ReqHeader newtrack: yes<br>
</div>
<div>- ReqHeader X-Forwarded-For: 192.168.200.12<br>
</div>
<div>- VCL_call RECV<br>
</div>
<div>- VCL_return hash<br>
</div>
<div>- VCL_call HASH<br>
</div>
<div>- VCL_return lookup<br>
</div>
<div>- VCL_call MISS<br>
</div>
<div>- VCL_return fetch<br>
</div>
<div>- Link bereq 32773 fetch<br>
</div>
<div>- Timestamp Fetch: 1576135769.306630 0.001951 0.001951<br>
</div>
<div>- RespProtocol HTTP/1.1<br>
</div>
<div>- RespStatus 200<br>
</div>
<div>- RespReason OK<br>
</div>
<div>- RespHeader Server: nginx<br>
</div>
<div>- RespHeader Date: Thu, 12 Dec 2019 07:29:58 GMT<br>
</div>
<div>- RespHeader Content-Type: text/plain<br>
</div>
<div>- RespHeader Content-Length: 23521499<br>
</div>
<div>- RespHeader Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>- RespHeader ETag: "3a1794b0-166e8db"<br>
</div>
<div>- RespHeader X-Varnish: 32772<br>
</div>
<div>- RespHeader Age: 0<br>
</div>
<div>- RespHeader Via: 1.1 varnish (Varnish/6.0)<br>
</div>
<div>- VCL_call DELIVER<br>
</div>
<div>- VCL_return deliver<br>
</div>
<div>- Timestamp Process: 1576135769.306657 0.001978 0.000027<br>
</div>
<div>- RespHeader Accept-Ranges: bytes<br>
</div>
<div>- RespHeader Connection: keep-alive<br>
</div>
<div>- Timestamp Resp: 1576135769.306748 0.002069 0.000091<br>
</div>
<div>- ReqAcct 112 0 112 299 0 299<br>
</div>
<div>- End <br>
</div>
<div>** << BeReq >> 32773 <br>
</div>
<div>-- Begin bereq 32772 fetch<br>
</div>
<div>-- VCL_use boot<br>
</div>
<div>-- Timestamp Start: 1576135769.304834 0.000000 0.000000<br>
</div>
<div>-- BereqMethod HEAD<br>
</div>
<div>-- BereqURL /Naserfeiz.mp4<br>
</div>
<div>-- BereqProtocol HTTP/1.1<br>
</div>
<div>-- BereqHeader Host: 192.168.200.12:8080<br>
</div>
<div>-- BereqHeader User-Agent: curl/7.47.0<br>
</div>
<div>-- BereqHeader Accept: */*<br>
</div>
<div>-- BereqHeader newtrack: yes<br>
</div>
<div>-- BereqHeader X-Forwarded-For: 192.168.200.12<br>
</div>
<div>-- BereqMethod GET<br>
</div>
<div>-- BereqHeader Accept-Encoding: gzip<br>
</div>
<div>-- BereqHeader X-Varnish: 32773<br>
</div>
<div>-- VCL_call BACKEND_FETCH<br>
</div>
<div>-- VCL_return fetch<br>
</div>
<div>-- BackendOpen 27 boot.swift_proxy_1 192.168.200.11 8080 192.168.200.12 6846<br>
</div>
<div>-- BackendStart 192.168.200.11 8080<br>
</div>
<div>-- Timestamp Bereq: 1576135769.304993 0.000160 0.000160<br>
</div>
<div>-- Timestamp Beresp: 1576135769.306170 0.001336 0.001176<br>
</div>
<div>-- BerespProtocol HTTP/1.1<br>
</div>
<div>-- BerespStatus 200<br>
</div>
<div>-- BerespReason OK<br>
</div>
<div>-- BerespHeader Server: nginx<br>
</div>
<div>-- BerespHeader Date: Thu, 12 Dec 2019 07:29:58 GMT<br>
</div>
<div>-- BerespHeader Content-Type: text/plain<br>
</div>
<div>-- BerespHeader Content-Length: 23521499<br>
</div>
<div>-- BerespHeader Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>-- BerespHeader Connection: keep-alive<br>
</div>
<div>-- BerespHeader ETag: "3a1794b0-166e8db"<br>
</div>
<div>-- BerespHeader Accept-Ranges: bytes<br>
</div>
<div>-- TTL RFC 120 10 0 1576135769 1576135769 1576135798 0 0 cacheable<br>
</div>
<div>-- VCL_call BACKEND_RESPONSE<br>
</div>
<div>-- TTL VCL 86400 10 0 1576135769 cacheable<br>
</div>
<div>-- VCL_return deliver<br>
</div>
<div>-- Storage file s0<br>
</div>
<div>-- Fetch_Body 3 length stream<br>
</div>
<div>-- BackendReuse 27 boot.swift_proxy_1<br>
</div>
<div>-- Timestamp BerespBody: 1576135769.645490 0.340657 0.339321<br>
</div>
<div>-- Length 23521499<br>
</div>
<div>-- BereqAcct 185 0 185 241 23521499 23521740<br>
</div>
<div>-- End <br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>########<br>
</div>
<div><br>
</div>
<div>STEP TWO:<br>
</div>
<div>First i restart varnish file and varnishlog then:<br>
</div>
<div>I add another varnish (with ram backend) in fornt of the varnish file and then i ask the url again in varnish ram (because it is my frontend server and users can access media though this server):<br>
</div>
<div><br>
</div>
<div>varnish-ram$ curl -I http://192.168.200.13/Naserfeiz.mp4 -H "newtrack: yes"<br>
</div>
<div>HTTP/1.1 200 OK<br>
</div>
<div>Server: nginx<br>
</div>
<div>Date: Thu, 12 Dec 2019 07:33:05 GMT<br>
</div>
<div>Content-Type: text/plain<br>
</div>
<div>Content-Length: 23521499<br>
</div>
<div>Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>ETag: "3a1794b0-166e8db"<br>
</div>
<div>X-Varnish: 2<br>
</div>
<div>Via: 1.1 varnish (Varnish/6.0)<br>
</div>
<div>X-Varnish: 2<br>
</div>
<div>Age: 0<br>
</div>
<div>Via: 1.1 varnish-v4<br>
</div>
<div>Accept-Ranges: bytes<br>
</div>
<div>Connection: keep-alive<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>First varnish file cached the url and then Varnish ram fetched the object from varnish file and cached it , then i purged that url in varnish ram and it purged successfuly and it exactly removed from cached:<br>
</div>
<div><br>
</div>
<div>varnish-ram:~$ curl -v -k -X PURGE http://192.168.200.13/Naserfeiz.mp4 -o /dev/null -H "newtrack: yes"<br>
</div>
<div>* Trying 192.168.200.13...<br>
</div>
<div> % Total % Received % Xferd Average Speed Time Time Time Current<br>
</div>
<div> Dload Upload Total Spent Left Speed<br>
</div>
<div> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 192.168.200.13 (192.168.200.13) port 80 (#0)<br>
</div>
<div>> PURGE /Naserfeiz.mp4 HTTP/1.1<br>
</div>
<div>> Host: 192.168.200.13<br>
</div>
<div>> User-Agent: curl/7.47.0<br>
</div>
<div>> Accept: */*<br>
</div>
<div>> newtrack: yes<br>
</div>
<div>> <br>
</div>
<div>< HTTP/1.1 200 Purged<br>
</div>
<div>< Date: Thu, 12 Dec 2019 07:33:46 GMT<br>
</div>
<div>< Server: Varnish<br>
</div>
<div>< X-Varnish: 32770<br>
</div>
<div>< Content-Type: text/html; charset=utf-8<br>
</div>
<div>< Retry-After: 5<br>
</div>
<div>< Content-Length: 240<br>
</div>
<div>< Accept-Ranges: bytes<br>
</div>
<div>< Connection: keep-alive<br>
</div>
<div>< <br>
</div>
<div>{ [240 bytes data]<br>
</div>
<div>100 240 100 240 0 0 73846 0 --:--:-- --:--:-- --:--:-- 117k<br>
</div>
<div>* Connection #0 to host 192.168.200.13 left intact<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Then i purged the url in varnish file it shows "200 purged" but it still exist in varnish file!!!!!!:<br>
</div>
<div><br>
</div>
<div>varnish-file$ curl -v -k -X PURGE http://192.168.200.12:8080/Naserfeiz.mp4 -o /dev/null -H "newtrack: yes"<br>
</div>
<div>* Trying 192.168.200.12...<br>
</div>
<div> % Total % Received % Xferd Average Speed Time Time Time Current<br>
</div>
<div> Dload Upload Total Spent Left Speed<br>
</div>
<div> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 192.168.200.12 (192.168.200.12) port 8080 (#0)<br>
</div>
<div>> PURGE /Naserfeiz.mp4 HTTP/1.1<br>
</div>
<div>> Host: 192.168.200.12:8080<br>
</div>
<div>> User-Agent: curl/7.47.0<br>
</div>
<div>> Accept: */*<br>
</div>
<div>> newtrack: yes<br>
</div>
<div>> <br>
</div>
<div>< HTTP/1.1 200 Purged<br>
</div>
<div>< Date: Thu, 12 Dec 2019 07:33:39 GMT<br>
</div>
<div>< Server: Varnish<br>
</div>
<div>< X-Varnish: 5<br>
</div>
<div>< Content-Type: text/html; charset=utf-8<br>
</div>
<div>< Retry-After: 5<br>
</div>
<div>< Content-Length: 236<br>
</div>
<div>< Accept-Ranges: bytes<br>
</div>
<div>< Connection: keep-alive<br>
</div>
<div>< <br>
</div>
<div>{ [236 bytes data]<br>
</div>
<div>100 236 100 236 0 0 110k 0 --:--:-- --:--:-- --:--:-- 230k<br>
</div>
<div>* Connection #0 to host 192.168.200.12 left intact<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>This is varnishlog resault in varnish file:<br>
</div>
<div><br>
</div>
<div>varnish-file:~$ sudo varnishlog -d -g request<br>
</div>
<div>* << Request >> 2 <br>
</div>
<div>- Begin req 1 rxreq<br>
</div>
<div>- Timestamp Start: 1576135956.460768 0.000000 0.000000<br>
</div>
<div>- Timestamp Req: 1576135956.460768 0.000000 0.000000<br>
</div>
<div>- ReqStart 192.168.200.13 22300 a0<br>
</div>
<div>- ReqMethod GET<br>
</div>
<div>- ReqURL /Naserfeiz.mp4<br>
</div>
<div>- ReqProtocol HTTP/1.1<br>
</div>
<div>- ReqHeader Host: 192.168.200.13<br>
</div>
<div>- ReqHeader User-Agent: curl/7.47.0<br>
</div>
<div>- ReqHeader Accept: */*<br>
</div>
<div>- ReqHeader newtrack: yes<br>
</div>
<div>- ReqHeader X-Forwarded-For: 192.168.200.13<br>
</div>
<div>- ReqHeader Accept-Encoding: gzip<br>
</div>
<div>- ReqHeader X-Varnish: 3<br>
</div>
<div>- ReqUnset X-Forwarded-For: 192.168.200.13<br>
</div>
<div>- ReqHeader X-Forwarded-For: 192.168.200.13, 192.168.200.13<br>
</div>
<div>- VCL_call RECV<br>
</div>
<div>- VCL_return hash<br>
</div>
<div>- VCL_call HASH<br>
</div>
<div>- VCL_return lookup<br>
</div>
<div>- VCL_call MISS<br>
</div>
<div>- VCL_return fetch<br>
</div>
<div>- Link bereq 3 fetch<br>
</div>
<div>- Timestamp Fetch: 1576135956.463065 0.002297 0.002297<br>
</div>
<div>- RespProtocol HTTP/1.1<br>
</div>
<div>- RespStatus 200<br>
</div>
<div>- RespReason OK<br>
</div>
<div>- RespHeader Server: nginx<br>
</div>
<div>- RespHeader Date: Thu, 12 Dec 2019 07:33:05 GMT<br>
</div>
<div>- RespHeader Content-Type: text/plain<br>
</div>
<div>- RespHeader Content-Length: 23521499<br>
</div>
<div>- RespHeader Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>- RespHeader ETag: "3a1794b0-166e8db"<br>
</div>
<div>- RespHeader X-Varnish: 2<br>
</div>
<div>- RespHeader Age: 0<br>
</div>
<div>- RespHeader Via: 1.1 varnish (Varnish/6.0)<br>
</div>
<div>- VCL_call DELIVER<br>
</div>
<div>- VCL_return deliver<br>
</div>
<div>- Timestamp Process: 1576135956.463114 0.002346 0.000049<br>
</div>
<div>- RespHeader Accept-Ranges: bytes<br>
</div>
<div>- RespHeader Connection: keep-alive<br>
</div>
<div>- Timestamp Resp: 1576135956.758920 0.298152 0.295806<br>
</div>
<div>- ReqAcct 176 0 176 295 23521499 23521794<br>
</div>
<div>- End <br>
</div>
<div>** << BeReq >> 3 <br>
</div>
<div>-- Begin bereq 2 fetch<br>
</div>
<div>-- VCL_use boot<br>
</div>
<div>-- Timestamp Start: 1576135956.461099 0.000000 0.000000<br>
</div>
<div>-- BereqMethod GET<br>
</div>
<div>-- BereqURL /Naserfeiz.mp4<br>
</div>
<div>-- BereqProtocol HTTP/1.1<br>
</div>
<div>-- BereqHeader Host: 192.168.200.13<br>
</div>
<div>-- BereqHeader User-Agent: curl/7.47.0<br>
</div>
<div>-- BereqHeader Accept: */*<br>
</div>
<div>-- BereqHeader newtrack: yes<br>
</div>
<div>-- BereqHeader Accept-Encoding: gzip<br>
</div>
<div>-- BereqHeader X-Varnish: 3<br>
</div>
<div>-- BereqHeader X-Forwarded-For: 192.168.200.13, 192.168.200.13<br>
</div>
<div>-- BereqHeader X-Varnish: 3<br>
</div>
<div>-- VCL_call BACKEND_FETCH<br>
</div>
<div>-- VCL_return fetch<br>
</div>
<div>-- BackendOpen 27 boot.swift_proxy_1 192.168.200.11 8080 192.168.200.12 6860<br>
</div>
<div>-- BackendStart 192.168.200.11 8080<br>
</div>
<div>-- Timestamp Bereq: 1576135956.461955 0.000856 0.000856<br>
</div>
<div>-- Timestamp Beresp: 1576135956.462607 0.001508 0.000652<br>
</div>
<div>-- BerespProtocol HTTP/1.1<br>
</div>
<div>-- BerespStatus 200<br>
</div>
<div>-- BerespReason OK<br>
</div>
<div>-- BerespHeader Server: nginx<br>
</div>
<div>-- BerespHeader Date: Thu, 12 Dec 2019 07:33:05 GMT<br>
</div>
<div>-- BerespHeader Content-Type: text/plain<br>
</div>
<div>-- BerespHeader Content-Length: 23521499<br>
</div>
<div>-- BerespHeader Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT<br>
</div>
<div>-- BerespHeader Connection: keep-alive<br>
</div>
<div>-- BerespHeader ETag: "3a1794b0-166e8db"<br>
</div>
<div>-- BerespHeader Accept-Ranges: bytes<br>
</div>
<div>-- TTL RFC 120 10 0 1576135956 1576135956 1576135985 0 0 cacheable<br>
</div>
<div>-- VCL_call BACKEND_RESPONSE<br>
</div>
<div>-- TTL VCL 86400 10 0 1576135956 cacheable<br>
</div>
<div>-- VCL_return deliver<br>
</div>
<div>-- Storage file s0<br>
</div>
<div>-- Fetch_Body 3 length stream<br>
</div>
<div>-- BackendReuse 27 boot.swift_proxy_1<br>
</div>
<div>-- Timestamp BerespBody: 1576135956.758956 0.297858 0.296349<br>
</div>
<div>-- Length 23521499<br>
</div>
<div>-- BereqAcct 206 0 206 241 23521499 23521740<br>
</div>
<div>-- End <br>
</div>
<div><br>
</div>
<div>* << Request >> 5 <br>
</div>
<div>- Begin req 4 rxreq<br>
</div>
<div>- Timestamp Start: 1576136019.230666 0.000000 0.000000<br>
</div>
<div>- Timestamp Req: 1576136019.230666 0.000000 0.000000<br>
</div>
<div>- ReqStart 192.168.200.12 5452 a0<br>
</div>
<div>- ReqMethod PURGE<br>
</div>
<div>- ReqURL /Naserfeiz.mp4<br>
</div>
<div>- ReqProtocol HTTP/1.1<br>
</div>
<div>- ReqHeader Host: 192.168.200.12:8080<br>
</div>
<div>- ReqHeader User-Agent: curl/7.47.0<br>
</div>
<div>- ReqHeader Accept: */*<br>
</div>
<div>- ReqHeader newtrack: yes<br>
</div>
<div>- ReqHeader X-Forwarded-For: 192.168.200.12<br>
</div>
<div>- VCL_call RECV<br>
</div>
<div>- VCL_return purge<br>
</div>
<div>- VCL_call HASH<br>
</div>
<div>- VCL_return lookup<br>
</div>
<div>- VCL_call PURGE<br>
</div>
<div>- VCL_return synth<br>
</div>
<div>- Timestamp Process: 1576136019.230863 0.000198 0.000198<br>
</div>
<div>- RespHeader Date: Thu, 12 Dec 2019 07:33:39 GMT<br>
</div>
<div>- RespHeader Server: Varnish<br>
</div>
<div>- RespHeader X-Varnish: 5<br>
</div>
<div>- RespProtocol HTTP/1.1<br>
</div>
<div>- RespStatus 200<br>
</div>
<div>- RespReason OK<br>
</div>
<div>- RespReason Purged<br>
</div>
<div>- VCL_call SYNTH<br>
</div>
<div>- RespHeader Content-Type: text/html; charset=utf-8<br>
</div>
<div>- RespHeader Retry-After: 5<br>
</div>
<div>- VCL_return deliver<br>
</div>
<div>- RespHeader Content-Length: 236<br>
</div>
<div>- Storage malloc Transient<br>
</div>
<div>- RespHeader Accept-Ranges: bytes<br>
</div>
<div>- RespHeader Connection: keep-alive<br>
</div>
<div>- Timestamp Resp: 1576136019.231138 0.000473 0.000275<br>
</div>
<div>- ReqAcct 113 0 113 214 236 450<br>
</div>
<div>- End <br>
</div>
<div><br>
</div>
<div>########<br>
</div>
<div>PLEASE test this scenario for yourself and you can see that i do correct and the object wont remove from varnish-file<br>
</div>
<div>Please do this scenario for yourself<br>
</div>
<span></span><br>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Guillaume Quintard <guillaume@varnish-software.com><br>
<b>Sent:</b> Wednesday, December 11, 2019 9:44 AM<br>
<b>To:</b> hamidreza hosseini <hrhosseini@hotmail.com><br>
<b>Cc:</b> varnish-misc@varnish-cache.org <varnish-misc@varnish-cache.org><br>
<b>Subject:</b> Re: Varnish doesnt purge</font>
<div> </div>
</div>
<div>
<div dir="ltr">Yes it does, we have already proved it./
<div><br>
</div>
<div>Each instance purges and will refetch the object for its respective backend. I explained how to test: start with the origin, change the data and check that you actually get the new object. Then add a varnish layer, purge, check, repeat.</div>
<div><br>
</div>
<div>You are testing everything at once and are unable to isolate the issue because you refuse to take things step by step, and spamming won't change that.</div>
<div><br>
</div>
<div>I'm sorry but until you have tested each layer individually and identified the one that fails, I won't be able to help.</div>
<div><br clear="all">
<div>
<div dir="ltr" class="x_x_gmail_signature">
<div dir="ltr">
<div>-- <br>
</div>
Guillaume Quintard<br>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="x_x_gmail_quote">
<div dir="ltr" class="x_x_gmail_attr">On Wed, Dec 11, 2019 at 3:08 PM hamidreza hosseini <<a href="mailto:hrhosseini@hotmail.com">hrhosseini@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif">
Hi,</div>
<div style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif">
please help me to solve this problem, this is the link that i explaine my question completely:</div>
<div style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif">
<a href="https://varnish-cache.org/lists/pipermail/varnish-misc/2019-December/026754.html" rel="noopener noreferrer" target="_blank">https://varnish-cache.org/lists/pipermail/varnish-misc/2019-December/026754.html</a></div>
<br>
</div>
</div>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>