Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在考虑为自己构建一个类似于 Google Analytics、Getclicky 等的应用程序。
我注意到所有这些网站都使用图像信标将数据发送到服务器。
除了大小开销之外,还有什么理由不使用jQuery 使用 JSONP?
当您想要一个包含有意义数据的响应时,JSONP 非常棒。在分析的情况下,您不关心结果。向远程服务器发送 GET 请求最简单、最简单的方法是请求图像。如果您不关心响应是什么,那么其他任何事情都是不必要的复杂性。