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

  • 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!

主站蜘蛛池模板: 大化| 高陵县| 巨鹿县| 邵阳县| 邻水| 绥德县| 巴塘县| 信宜市| 株洲市| 集贤县| 岢岚县| 区。| 成安县| 泰州市| 南漳县| 神木县| 调兵山市| 仁怀市| 凤台县| 根河市| 鹿邑县| 太白县| 孝义市| 韶山市| 金沙县| 中阳县| 女性| 大理市| 霸州市| 林甸县| 上栗县| 虞城县| 瑞丽市| 宣化县| 侯马市| 长兴县| 阳山县| 甘孜| 永泰县| 淮阳县| 肇庆市|