Nginx Cache and WP canonical URL create infinite loop (bug ?)

Simone Fumagalli simone.fumagalli at contactlab.com
Thu Nov 24 13:34:59 UTC 2011


On 11/24/2011 11:17 AM, Maxim Dounin wrote:
> With this proxy_cache_key the key (for the same request) will be
> "http://www.mysite.com/my-page//".

Well, actually when I require http://www.mysite.com/my-page// the key I've in the cache is http://www.mysite.com/my-page/
I'm on NGINX 0.8.54 and I've installed "Cache purge" module http://labs.frickle.com/nginx_ngx_cache_purge/

Also when I require a URL like http://www.mysite.com/my-page/###### in the cache the KEY is http://www.mysite.com/my-page/

If I've an entry in the cache with the key http://www.mysite.com/my-page/ and I require http://www.mysite.com/my-page/###### the request hit the cache 

Regards

--
Simone



More information about the nginx mailing list