|
Im using comet tomcat java ajax call for server push. problem is the browser is continously making ajax call. whether server pushes fresher data or not. i want the browser make a fresher only if server pushes new data.if not so browser should not make any call to server.please helpme.
(comments are locked)
|
|
That is because you are using LongPolling on your cometd server configuration. Also this is the default server config of the cometd server. I dont know exactly how to change this configuration, but surely thats where I would start looking into.
(comments are locked)
|