Welcome! Log In Create A New Profile

Advanced

Re: NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream

Maxim Dounin
April 13, 2010 04:28AM
Hello!

On Mon, Apr 12, 2010 at 08:50:34PM -0600, David Taveras wrote:

> I have enabled caching, and now when I visit my page and I hit the
> Shift key so that I force my browser to not use the local cache and
> fetch all objects intermittently (happens randomly for objects) some
> of the objects after 1 or 2 refreshes with this method become 0 size.
>
> After I "screw" the cache of nginx with this shift key the only way to
> get a full page to load with all its objects is to clean the cache and
> send a kill -HUP to the nginx pid .. or rm -fr the cache contents
> directory and reboot the server.
>
> When I look in the logs I see this:
>
> 124.40.68.228 www.mydomain.org - [08/Apr/2010:17:47:34 -0600] "GET
> /images/split_main_footer.gif HTTP/1.1" 304 0
> "http://www.mydomain.org/products.php" "Mozilla/5.0 (Windows; U;
> Windows NT 5.1; es-ES; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19
> (.NET CLR 3.5.30729)" "0.000"
>
> NOTICE the 304 response code given to me.. with a 0 byte size.

[...]

> What could be causing this mess???

http://tools.ietf.org/html/rfc2616#section-10.3.5

Maxim Dounin

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

NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream

David Taveras April 12, 2010 10:56PM

Re: NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream

Maxim Dounin April 13, 2010 04:28AM

Re: NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream

Ryan Malayter April 13, 2010 08:58AM

Re: NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream

David Taveras April 13, 2010 10:28AM

Re: NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream

David Taveras April 13, 2010 10:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
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