Re: Mapping non-empty $query_string

2016-06-15 Thread Supersmile2009
Already tried it, same result. Main page hits the cache, everything else - bypasses. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267584,267590#msg-267590 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngi

Mapping non-empty $query_string

2016-06-14 Thread Supersmile2009
Hi! I'm running a Wordpress based website on my server, I've set up fastcgi cache recently. Now I want to get rid of evil-ifs, that are used to detect cache skipping cases, and replace them with map. I managed to convert all common ifs except this one, if ($query_string != "") { set $skip_ca