OK. Is there a plan to study it? I'm concerned that we might dangle a tasty carrot in front of developers only to disappoint them if this method is found to be too unreliable.
OK. Is there a plan to study it? I'm concerned that we might dangle a tasty carrot in front of developers only to disappoint them if this method is found to be too unreliable.
On Thu, Jul 24, 2014 at 11:00 AM, Darin Fisher <da...@chromium.org> wrote:
OK. Is there a plan to study it? I'm concerned that we might dangle a tasty carrot in front of developers only to disappoint them if this method is found to be too unreliable.It would be great to gather some (UMA) stats on size of sent beacons, success rates, etc. I think that would help us determine what (and if) we need to do to improve reliability. At the moment, Beacon and <a ping> are no worse than what developers use today (XHRs, "image pings", and so on), and as such, I don't think we need to block shipping Beacon on this... but we can certainly improve its reliability down the road once we have some data on causes of failed deliveries, etc.
That clearly could be useful data; https://codereview.chromium.org/417943005/ counts sendBeacon() usage + the times the transmission limit is exceeded.
LGTM
Thanks for all the due diligence.
-Darin