>A dummy image request seems rather reasonable. (I assume varnish can handle such load of "atypical" requests.)
Right, the filtering for beacons is already in place in vcl and responses are sent right away so as far as I know there is no better place than varnish for this code. See example:
https://github.com/wikimedia/operations-puppet/blob/production/templates/varnish/bits.inc.vcl.erb#L24


On Thu, Feb 5, 2015 at 10:38 PM, Federico Leva (Nemo) <nemowiki@gmail.com> wrote:
Gergo Tisza, 04/02/2015 21:00:
Do you see any fundamental problem with this?

A dummy image request seems rather reasonable. (I assume varnish can handle such load of "atypical" requests.)
Making additional requests is ugly, but until we get SPDY our articles typically make dozens or hundreds requests, so the effect looks negligible.

Nemo


_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics