Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csbun opened this issue Jan 2, 2019 · 0 comments
Open

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

csbun opened this issue Jan 2, 2019 · 0 comments

Comments

@csbun
Copy link
Owner

csbun commented Jan 2, 2019

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant