add_header in nginx config file


#1

just curious, what does add_header rt-Fastcgi-Cache $upstream_cache_status; do?

Is it safe to comment out?


#2

@datagroove

Above is use ful when we want to test weather the requested page is come from cache or not

curl -sI example.com  | grep rt-Fastcgi 
rt-Fastcgi-Cache: HIT

YES


#3

Hello @datagroove

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#4