From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.190.149 with SMTP id di21cs61326qcb; Mon, 25 Apr 2011 06:24:11 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCPTC7rR5EPnr1e0EGgR9wBtD@googlegroups.com designates 10.68.42.5 as permitted sender) client-ip=10.68.42.5; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCPTC7rR5EPnr1e0EGgR9wBtD@googlegroups.com designates 10.68.42.5 as permitted sender) smtp.mail=rack-devel+bncCPTC7rR5EPnr1e0EGgR9wBtD@googlegroups.com; dkim=pass header.i=rack-devel+bncCPTC7rR5EPnr1e0EGgR9wBtD@googlegroups.com Received: from mr.google.com ([10.68.42.5]) by 10.68.42.5 with SMTP id j5mr1790652pbl.28.1303737851249 (num_hops = 1); Mon, 25 Apr 2011 06:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:mime-version:date:in-reply-to:x-ip :references:user-agent:x-http-useragent:message-id:subject:from:to :x-original-sender:reply-to:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=CHSKdakya1o/lNtp38oVPLbWyl4TETD3ZUHg7ORhv94=; b=HpexES80TJltGWHML9J+d8k0wNZ2+cy4wvf9D3CDKwFefMkyy0bRlAXOfRJTD+8kVe tDN46nokv47oSsjAwNhrursLuZHTq3TuKOIjo4LZDPjffhR358TuNQbMHLdf3wTNk3yi pU+fBteoxIuAeu336rlC0IyI1/NN7sr8eQQq0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:in-reply-to:x-ip:references :user-agent:x-http-useragent:message-id:subject:from:to :x-original-sender:reply-to:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; b=jYk1Bx2QMxOeKc6O3rbw4COppV9W4FANUaYJJ0XGJfcpK/r4k6uP/m6uq+O0XofsLP 2GUcK3Ym8QOGjRhKaTgXllRpOAVel48RYN5PjiEEo1NRl6hovBAHBS/CB/BTQzEHspTn BzY8DbhdwnfOFkmMdSCTLO1rhWnJj/kYlx1Yc= Received: by 10.68.42.5 with SMTP id j5mr462306pbl.28.1303737849230; Mon, 25 Apr 2011 06:24:09 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.68.8.3 with SMTP id n3ls1878337pba.3.gmail; Mon, 25 Apr 2011 06:24:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.41.131 with SMTP id f3mr221840pbl.78.1303737848432; Mon, 25 Apr 2011 06:24:08 -0700 (PDT) Received: by a21g2000prj.googlegroups.com with HTTP; Mon, 25 Apr 2011 06:24:08 -0700 (PDT) Date: Mon, 25 Apr 2011 06:24:08 -0700 (PDT) In-Reply-To: X-IP: 121.44.82.34 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16,gzip(gfe) Message-ID: <6ff70823-74e4-41cc-a313-8c3ff6ff5177@a21g2000prj.googlegroups.com> Subject: Re: Rack and Varnish From: froom To: Rack Development X-Original-Sender: jasjb@hotmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Thanks for the reply Would rather not return a redirect response to the user/browser... only want one request cycle I'd rather Rack decided "I need to return the varnish cached page for URL2 back to the user immediately".... and I was thinking the best way to do that is modify the request in some way with a new URL, so almost like a "restart" for the request, which would give Varnish a chance to kick in before we bother Rails Not sure if this is even feasible.... but seems preferable over memcache storing entire pages for no real reason