Re: Two cache files with same key

2019-01-17 Thread Roger Fischer
Hello, the key config is: # cache key is last part of URI set $cachekey '$uri'; if ($uri ~ '([^/]+$)') { set $cachekey $1; } proxy_cache_key "$cachekey"; The URI includes query parameters: /dm/2$q7zVD5pG1k6QpMe6Nz7a8uZDx78~/de4c/5433/a0db/4f70-b9f7-413f3f47f38d/1

Re: Two cache files with same key

2019-01-17 Thread Lucas Rolff
What key do you see and what's your cache key configured as? On 17/01/2019, 20.39, "nginx on behalf of Roger Fischer" wrote: Hello, I am using the nginx cache. I observed a MISS when I expected a HIT. When I look at the cache, I see the same page (file) twice in the cache, the or

Two cache files with same key

2019-01-17 Thread Roger Fischer
Hello, I am using the nginx cache. I observed a MISS when I expected a HIT. When I look at the cache, I see the same page (file) twice in the cache, the original that I expected to HIT on, and the new one from the MISS (that should have been a HIT). The key, as viewed in the cache file, is exa