search

Home  >  Q&A  >  body text

android - volley和okhttp,为什么感觉volley请求速度比okhttp快?

巴扎黑巴扎黑2841 days ago857

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 16:55:01

    okhttp also has direct asynchronous callbacks, and your feeling must be wrong - -

    reply
    0
  • 阿神

    阿神2017-04-17 16:55:01

    I can tell you clearly that Volley’s asynchronous also sends Runnable to implement callback by binding the main thread Looper’s handler.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:55:01

    It may be because of the server configuration that you triggered Volley’s HTTP 304 caching technology

    reply
    0
  • Cancelreply