Patent ID: 8166164

Claim:
A method for detecting a long poll request initiated at a mobile device, the method comprising: detecting a first request initiated by a client on the mobile device; detecting a second request initiated by the client on the mobile device after a first response is received at the mobile device responsive to the first request; using a response delay time interval relative to an idle time interval to determine whether requests initiated by the client are long poll requests; wherein, the response delay time interval is between time of the first request and receipt of a first response responsive to the first request; wherein, the idle time interval is between time of the first response to time of the second request; determining that content received for the client is cacheable, when the received responses indicate repeatability, using the responses received for the requests generated by the client; storing the content received for the client as cache elements in a local cache of the mobile device responsive to determining cache-ability; and responding to subsequent requests generated by the client using the cache elements stored on the mobile device, to satisfy the subsequent requests without a need to send the subsequent requests over a wireless network.