I didnt look into this particularly thouroughly, but I "think" that the loading bar remains while there is a request open that has been made while the document as a whole has kept loading, so if a longpoll request was made before the last image / resource has loaded, the loading will wait until the long poll has complete, a settimeout helps when stuff has been cached but I think it wont help on a fresh request, Ill take a look / fix it in a bit. On 15 September 2010 20:06, 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 >