NIGHTMARE cache issue reverse proxy. Objects in cache replaced with 0 bytes and not being fetched from upstream
mdounin at mdounin.ru
Tue Apr 13 12:21:11 MSD 2010
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:
> 220.127.116.11 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:18.104.22.168) 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???
More information about the nginx