I have a question about continuous feeds (changes feed for example) in phonegap applications.
I'm using XMLHttpRequest object to keep alive a socket connection to "http://lite.couchbase." I get a callback everytime my readystate changes. What I've noticed is that the new changes get appended to the http body. Now I could imagine this could grow quite large at times. Is there any best practice for this? I suppose I could periodically disconnect re-establish a new connection (thus freeing up the memory) if I deem the buffer has grown too large, but I wanted to check if there are simpler/smarter ways of dealing with this. slim -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/b9c4d6f9-7901-4beb-87f6-976ee66f0783%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
