Purge the Nginx cache
kaushalshriyan at gmail.com
Mon May 2 19:05:16 UTC 2022
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?
Thanks in Advance.
On Fri, Apr 29, 2022 at 11:44 PM Kaushal Shriyan <kaushalshriyan at gmail.com>
> On Fri, Apr 29, 2022 at 12:54 AM Kaushal Shriyan <kaushalshriyan at gmail.com>
>> I am following
>> and https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ to purge
>> cache. I am attaching the nginx file for your reference.
>> $curl -I https://gsmanginxproxycachepurge.testapicraft.com -H
>> "secret-header: true"
>> HTTP/1.1 200 OK
>> Server: nginx/1.20.2
>> Date: Thu, 28 Apr 2022 19:21:54 GMT
>> Content-Type: text/html; charset=UTF-8
>> Connection: keep-alive
>> Cache-Control: max-age=21600, public
>> Link: <https://gsmanginxproxycachepurge.testapicraft.com/>;
>> rel="canonical", <https://gsmanginxproxycachepurge.testapicraft.com/>;
>> rel="shortlink", <https://gsmanginxproxycachepurge.testapicraft.comhome>;
>> X-UA-Compatible: IE=edge
>> Content-language: en
>> X-Content-Type-Options: nosniff
>> X-Frame-Options: SAMEORIGIN
>> Permissions-Policy: interest-cohort=()
>> Expires: Sun, 19 Nov 1978 05:00:00 GMT
>> Vary: Cookie
>> X-XSS-Protection: 1; mode=block
>> Strict-Transport-Security: max-age=31536000; includeSubDomains
>> expires=Thu, 28-Apr-2022 19:14:45 GMT; Max-Age=30; path=/
>> Last-Modified: Tue, 26 Apr 2022 11:42:25 GMT
>> ETag: "1650973345"
>> Access-Control-Allow-Origin: *
>> *X-Cache-Status: HIT*
>> 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.
>> Please guide me. Thanks in advance.
>> Best Regards,
> I will appreciate it if someone can pitch in for my earlier post to this
> mailing list. Thanks in Advance.
> Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx