How to verify pages served by cache

Hi There

I am new to EE and just installed EE4. I have setup a wordpress site with redis cache and everything seems to be working. How can I verify pages are being served from the cache? If I use curl -I https://mydomain.com I get

HTTP/2 200 server: nginx date: Fri, 23 Nov 2018 00:20:03 GMT content-type: text/html; charset=UTF-8 vary: Accept-Encoding x-srcache-fetch-status: MISS x-srcache-store-status: BYPASS x-powered-by: EasyEngine v4.0.0

Is this showing the page is served by cache as I read it as cache miss

Thanks

Robert

I’m pretty sure x-srcache-fetch-status: MISS means the page is NOT cached.

curl -I by default makes HTTP HEAD request.

Can you try:

curl -X GET -I example.com

Thanks Rahul with that command I see “HIT” so the cache is working.