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