Skip to content

利用 sendBeacon 发送统计信息 | Hans Chan's Blog #39

Description

@csbun

http://csbun.github.io/blog/2014/12/send-beacon/

前言今天看到这样一篇文章《Send beacon data in Chrome 39》 大致是说 navigator.sendBeacon 可以用来发送一些小量的数据,特别适合统计场景,且这个请求是异步的,不受浏览器行为限制:即使浏览器关闭请求也能照样发出。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions