The more common way to do this is to stuff data in the ETags or Last-Modified date on a cacheable piece of content. This "hack" is at least a decade old, by the way.
Kissmetrics was actually using it in the wild for a while, but I think they stopped after there was a public outcry.