官术网_书友最值得收藏!

  • Jakarta EE Cookbook
  • Elder Moraes
  • 90字
  • 2021-06-24 16:12:40

How it works...

We use the PushBuilder object to send an image to the client before it is requested by the img src tag. In other words, the browser doesn't need to do another request (what it usually does with img src) to have an image available for rendering.

It might seem as if it doesn't make too much difference for a single image, but it would with dozens, hundreds, or thousands of images. There's less traffic for your client and from your server. That's better performance for all!

主站蜘蛛池模板: 怀仁县| 嘉黎县| 临潭县| 登封市| 富民县| 酉阳| 三台县| 萍乡市| 云安县| 太白县| 嘉荫县| 临沂市| 沁阳市| 马龙县| 平凉市| 凤山市| 且末县| 宁晋县| 普安县| 丹寨县| 永州市| 广东省| 诸城市| 怀宁县| 黑龙江省| 玉环县| 恭城| 化隆| 隆德县| 安塞县| 延津县| 正蓝旗| 巴楚县| 辽中县| 基隆市| 泽普县| 舟山市| 普格县| 翁牛特旗| 江孜县| 濮阳市|