I wrote a RESTful web service that is consumed only by devices, not browsers. Devices access the Internet through the owner of the home home router and communicate with the web service by sending HTTP requests through the router as often as every 30 seconds. These queries are basically βpollingβ queries to find out if the web service has any new information for the device.
I want any transparent ISP proxies to intercept the request and return a cached response. I read that one way to do this is to add a random request line to the end of the request URL in order to trick the proxy into considering it to be a unique request. For example:
http://webservicedomain.com/poll/?randomNumber=384389
I have the ability to do this, but is this the best way? Kinda seems to be a hack.
CFL_Jeff
source share