I assume $upstream_cache_status variable is set after requests are sent and responses are got. But is there a way to do do rate limiting ignoring cache? Really appreciate any help on this. Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268345,268383#msg-268383