From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.204.72.79 with SMTP id l15cs289021bkj; Thu, 2 Jul 2009 09:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.151.141.2 as permitted sender) client-ip=10.151.141.2; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.151.141.2 as permitted sender) smtp.mail=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.151.141.2]) by 10.151.141.2 with SMTP id t2mr572064ybn.1.1246551117206 (num_hops = 1); Thu, 02 Jul 2009 09:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :mime-version:received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; bh=FAbdrOJhh9UcRDODE99b2wbYlNcN0YVAFfOLyXSmJTM=; b=W4Cs5nX0NSsEtNPkYfJAKlypz5uL6bOkBwA0c2S8wvtngLhCIdMOcsq1si9foZ4i1+ CbV25NvV29/XCWCU5+Twwi435GW/9ntZv0z26JUUvGVIoqL4NYw5KDpH3U/7dozgFvmV pTCnXa3npVOqLv2kzId/os5WHToaP+b+XCo8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:reply-to:sender:precedence :x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; b=OeOYj/SuUu3tK87xsS31eYOGa84gP/plmOpjLTl3DeOSRKDXro9WJ5DtYDtNiFOGJ2 tdINi6S51rnJziSEcJRbofua1MW1RIBEVbYhw3F6jlVxbWGJ9yq3jxo8mMyfsqvCOXz2 rHFvqBOSfe3vKKyx8Z4vSvjT+GYN7avuPSjhA= Received: by 10.151.141.2 with SMTP id t2mr86278ybn.1.1246551117016; Thu, 02 Jul 2009 09:11:57 -0700 (PDT) Received: by 10.176.231.39 with SMTP id d39gr1489yqh.0; Thu, 02 Jul 2009 09:11:56 -0700 (PDT) X-Sender: simon@rozet.name X-Apparently-To: rack-devel@googlegroups.com Received: by 10.210.142.6 with SMTP id p6mr58118ebd.1.1246551116362; Thu, 02 Jul 2009 09:11:56 -0700 (PDT) Return-Path: Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by gmr-mx.google.com with ESMTP id 13si597020ewy.6.2009.07.02.09.11.55; Thu, 02 Jul 2009 09:11:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.219.221 is neither permitted nor denied by best guess record for domain of simon@rozet.name) client-ip=209.85.219.221; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.219.221 is neither permitted nor denied by best guess record for domain of simon@rozet.name) smtp.mail=simon@rozet.name Received: by ewy21 with SMTP id 21so2057260ewy.12 for ; Thu, 02 Jul 2009 09:11:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.74.71 with SMTP id w49mr61083wed.135.1246551115725; Thu, 02 Jul 2009 09:11:55 -0700 (PDT) In-Reply-To: References: <1c5622660905100710k104fc87fpf185716ac7c39dfd@mail.gmail.com> <2fff50390905101554u4feea72akaea9315f371cf820@mail.gmail.com> Date: Thu, 2 Jul 2009 18:11:55 +0200 Message-ID: <8878c9770907020911m87cab2br55fe91ce8b5c70e@mail.gmail.com> Subject: Re: Rack as a client-side spec From: Simon Rozet To: rack-devel@googlegroups.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: rack-devel@googlegroups.com Sender: rack-devel@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-devel@googlegroups.com; contact rack-devel+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-devel@googlegroups.com X-BeenThere: rack-devel@googlegroups.com On Wed, Jul 1, 2009 at 8:00 PM, Bill Burcham wrote: > > This sounded like a great idea a few weeks ago. Now I've got a real > use case: I'm in the process of implementing a little ZIP-code lookup > service for a client (hits http://zip4.usps.com/zip4/welcome.jsp) and > I'm wishing I had a (client-side) middleware for caching those > responses. > Checkout cacheability which hacks RestClient to use Rack::Cache http://github.com/cryx/cacheability -- Simon Rozet http://atonie.org