<div dir="ltr">Hi,<div><br></div><div>I am running the nginx version: nginx/1.20.2 (OSS) as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). I will appreciate it if someone can pitch in for my post to this mailing list. Any recommendations to purge nginx cache since i am using the Open Source version of Nginx?<br></div><div><br></div><div>Thanks in Advance. <br></div><div><br></div><div><div>Best Regards,</div><div><br></div><div>Kaushal</div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 29, 2022 at 11:44 PM Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 29, 2022 at 12:54 AM Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>I am following <a href="https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/" target="_blank">https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/</a> and <a href="https://bluegrid.io/edu/how-to-purge-the-nginx-cache/" target="_blank">https://bluegrid.io/edu/how-to-purge-the-nginx-cache/</a> to purge cache. I am attaching the nginx file for your reference. </div><div><br></div><div>$curl -I <a href="https://gsmanginxproxycachepurge.testapicraft.com" target="_blank">https://gsmanginxproxycachepurge.testapicraft.com</a> -H "secret-header: true"<br></div><div><br></div><div>HTTP/1.1 200 OK<br>Server: nginx/1.20.2<br>Date: Thu, 28 Apr 2022 19:21:54 GMT<br>Content-Type: text/html; charset=UTF-8<br>Connection: keep-alive<br>Cache-Control: max-age=21600, public<br>Link: <<a href="https://gsmanginxproxycachepurge.testapicraft.com/" target="_blank">https://gsmanginxproxycachepurge.testapicraft.com/</a>>; rel="canonical", <<a href="https://gsmanginxproxycachepurge.testapicraft.com/" target="_blank">https://gsmanginxproxycachepurge.testapicraft.com/</a>>; rel="shortlink", <<a href="https://gsmanginxproxycachepurge.testapicraft.comhome" target="_blank">https://gsmanginxproxycachepurge.testapicraft.comhome</a>>; rel="revision"<br>X-UA-Compatible: IE=edge<br>Content-language: en<br>X-Content-Type-Options: nosniff<br>X-Frame-Options: SAMEORIGIN<br>Permissions-Policy: interest-cohort=()<br>Expires: Sun, 19 Nov 1978 05:00:00 GMT<br>Vary: Cookie<br>X-XSS-Protection: 1; mode=block<br>Strict-Transport-Security: max-age=31536000; includeSubDomains<br>Set-Cookie: ADRUM_BT=R%3A0%7Cg%3A5277dd0a-8de6-440a-a8f7-52fb782db25114%7Cn%3Aicebergtest_e1c60ae6-5d00-47d5-8c0a-690d8465795f%7Ci%3A129601; expires=Thu, 28-Apr-2022 19:14:45 GMT; Max-Age=30; path=/<br>Last-Modified: Tue, 26 Apr 2022 11:42:25 GMT<br>ETag: "1650973345"<br>Access-Control-Allow-Origin: *<br><b>X-Cache-Status: HIT<br></b></div><div><br></div><div>I am seeing it as HIT instead of BYPASS and I am not sure about this term between HIT vs MISS vs BYPASS vs EXPIRED in context to Nginx cache.</div><div><br></div><div>Please guide me. Thanks in advance.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br></blockquote></div></blockquote><div><br></div><div>Hi,</div><div><br></div><div>I will appreciate it if someone can pitch in for my earlier post to this mailing list. Thanks in Advance. </div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal</div><div> </div></div></div>
</blockquote></div>