Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 13710 invoked from network); 15 Sep 2010 22:52:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 22:52:57 -0000 Received: (qmail 18282 invoked by uid 500); 15 Sep 2010 22:52:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 18230 invoked by uid 500); 15 Sep 2010 22:52:55 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 18221 invoked by uid 99); 15 Sep 2010 22:52:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 22:52:55 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 22:52:51 +0000 Received: by vws14 with SMTP id 14so758820vws.11 for ; Wed, 15 Sep 2010 15:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=86+370CWiLGzO1fkKCFdhc1vXSnhk63rv+ECsVD/xBQ=; b=cBG/Hfhe1nKXwYHkgtqIvwC66IQhFmqQ+uZnLbMv3DU4PI0ohzRjEv77UqcukhTyRT S4oMXo2ciRn1D248jPelAhlgsv2aGOBP/0+bLSWz7cVwN6fGI6UfC5wS6idLkwRwT+tJ CQQv82uUZaj2LEqFPWHPrt033neGst+Uk9Cbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=xKJi6aG9tFLklg3AZx3vMzoYvBgkZh9msuiv4w4SeFg3JcXIozzRqvPY//NsAG44hd RM7Di6n3Y+UzLGhU14YunU8xsYBv+r3gy7WMRpEMNiyEqPMMqiyQHVMz9IJi6vOrdUs6 RJqCnrrCweF4eZlLTQzFMg0CxxB9zJPzbgxRA= MIME-Version: 1.0 Received: by 10.220.72.84 with SMTP id l20mr1338226vcj.90.1284591150605; Wed, 15 Sep 2010 15:52:30 -0700 (PDT) Sender: jchris@gmail.com Received: by 10.220.99.134 with HTTP; Wed, 15 Sep 2010 15:52:30 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Sep 2010 15:52:30 -0700 X-Google-Sender-Auth: Kc1csQ6FREMvKUtMwVzTLGTZGLA Message-ID: Subject: Re: iPhone Safari and CouchDB Website From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 15, 2010 at 1:59 PM, Ido Ran wrote: > Hi, > I have to say that Focus really works much better. > Both in desktop browser and in the iPhone the site now loaded and update in > the background. > If you can explain what you did different in little more detail it will be > great. > There is a lot different, the big change is here, I think: http://github.com/couchone/Focus/blob/master/_attachments/index.html#L30 > Thank you, > Ido > > On Wed, Sep 15, 2010 at 9:06 PM, Chris Anderson wrote: > >> On Wed, Sep 15, 2010 at 7:12 AM, Ido Ran wrote: >> > I'm not an expert, but I think it is longpoll. >> > I can see the parameter in the querystring when I run the same >> application >> > on CouchDBX.app on my local machine. >> > >> > It is the taskr application from github. >> > >> >> I tried to fix this in Focus, by wrapping the entire thing in a setTimeout >> >> try: http://github.com/couchone/Focus and see if it is any better. >> >> Chris >> >> > Ido >> > >> > On Wed, Sep 15, 2010 at 4:08 PM, Benoit Chesneau > >wrote: >> > >> >> On Wed, Sep 15, 2010 at 4:06 PM, Ido Ran wrote: >> >> > Hi, >> >> > I've try to view my CouchApp using my iPhone and found something not >> so >> >> > good: Because CouchApp use _changes feature of CouchDB by long polling >> on >> >> > the server the address bar of the iPhone Safari never goes away. >> >> > Most users will not understand why it is and frankly it pretty >> annoying. >> >> > If also happen on any desktop browser but there it is somewhat less >> >> obvious. >> >> > >> >> > Can someone think of a clever solution? >> >> > >> >> > Thank you, >> >> > Ido >> >> > >> >> >> >> longpoll or continuous ? >> >> >> > >> >> >> >> -- >> Chris Anderson >> http://jchrisa.net >> http://couch.io >> > -- Chris Anderson http://jchrisa.net http://couch.io