Purge the Nginx cache
Kaushal Shriyan
kaushalshriyan at gmail.com
Fri Apr 29 18:14:37 UTC 2022
On Fri, Apr 29, 2022 at 12:54 AM Kaushal Shriyan <kaushalshriyan at gmail.com>
wrote:
> Hi,
>
> I am following
> https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/
> 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>;
> rel="revision"
> 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
> 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=/
> 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,
>
> Kaushal
>
>>
>>
Hi,
I will appreciate it if someone can pitch in for my earlier post to this
mailing list. Thanks in Advance.
Best Regards,
Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220429/dc867350/attachment.htm>
More information about the nginx
mailing list