<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 22, 2022 at 10:31 PM Sergey A. Osokin <<a href="mailto:osa@freebsd.org.ru">osa@freebsd.org.ru</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">Hi Kaushal,<br>
<br>
hope you're doing well.<br>
<br>
On Fri, Apr 22, 2022 at 10:03:57PM +0530, Kaushal Shriyan wrote:<br>
> Hi,<br>
> <br>
> I am running the nginx version: nginx/1.20.2 as a reverse proxy server on<br>
> CentOS Linux release 7.9.2009 (Core). Is there a way to purge the cache<br>
> without restarting the nginx server? I am reading a blog which says to use<br>
> nginx bypass purge cache method instead of manually purging Nginx cache<br>
> using the below method.<br>
> <br>
> $sudo rm -rf /var/cache/nginx/*<br>
> <br>
> Please let me know the best recommended way to purge cache. Thanks in<br>
> advance. I look forward to hearing from you.<br>
<br>
I'd recommend to follow the NGINX Admin Guide, please visit the following link<br>
for details, <a href="https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/" rel="noreferrer" target="_blank">https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/</a><br>
<br>
-- <br>
Sergey A. Osokin<br>
_______________________________________________<br>
nginx mailing list -- <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
To unsubscribe send an email to <a href="mailto:nginx-leave@nginx.org" target="_blank">nginx-leave@nginx.org</a></blockquote><div><br></div><div>Thanks Sergey for sharing the article. Is this <a href="https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/">https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/</a> applicable to the OSS version of nginx web server. Please comment. </div><div><br></div><div><div>Thanks in advance. I look forward to hearing from you. </div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal</div></div><div> </div></div></div>