Welcome! Log In Create A New Profile

Advanced

Re: Fastcgi_cache Key Length Bug

Maxim Dounin
April 07, 2011 09:46PM
Hello!

On Thu, Apr 07, 2011 at 11:28:45AM -0400, cromulus wrote:

> I figured it out.
>
> Here is the problem: if the fastcgi_cache_bypass directive is below the
> fastcgi_cache_key directive, you encounter this particular problem.
> Moving the fastcgi_cache_bypass directive above the fastcgi_cache_key
> directive solved the problem and now urls of any length are process
> correctly.

I believe the problem in your case is not order of directives, but
fastcgi_cache_bypass itself. It has known problem that it doesn't
work correctly (results in corrupted cache entries) unless the
same predicates are used in fastcgi_no_cache.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Fastcgi_cache Key Length Bug

cromulus April 06, 2011 07:37PM

Re: Fastcgi_cache Key Length Bug

Igor Sysoev April 07, 2011 03:02AM

Re: Fastcgi_cache Key Length Bug

cromulus April 07, 2011 09:59AM

Re: Fastcgi_cache Key Length Bug

cromulus April 07, 2011 11:28AM

Re: Fastcgi_cache Key Length Bug

Maxim Dounin April 07, 2011 09:46PM

Re: Fastcgi_cache Key Length Bug

cromulus April 08, 2011 11:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready