FastCGI caching mistakes


I encountered several failure about fastcgi caching.
Requests with special characters are not cached. Same for requests with
query string.
When I try to purge those URLs, each one send me a 404.

This is my caching key used in a location directive :

$isAjax : string (empty or “ajax”)

Anyone can tell me why it may not work ?

Posted at Nginx Forum:

Ok, it works for query string now.
I saw that $request_uri already contains query string.

location ~ ^/purge(/.*) {
fastcgi_cache_purge FASTCGICACHE

I use $1$is_args$args like $request_uri. But special characters are
endoded during the location regex ?
So now, hox to deal with special characters (é, è…) ?

Posted at Nginx Forum: