- 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!
推薦閱讀
- Java程序設(shè)計(慕課版)
- Apache Oozie Essentials
- C#程序設(shè)計實訓(xùn)指導(dǎo)書
- 認識編程:以Python語言講透編程的本質(zhì)
- C#程序設(shè)計(慕課版)
- MATLAB實用教程
- Java程序設(shè)計
- Learning OpenStack Networking(Neutron)(Second Edition)
- Windows Embedded CE 6.0程序設(shè)計實戰(zhàn)
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)實驗指導(dǎo)與習(xí)題選解(第2版)
- 新印象:解構(gòu)UI界面設(shè)計
- Django 5企業(yè)級Web應(yīng)用開發(fā)實戰(zhàn)(視頻教學(xué)版)
- QlikView Unlocked
- Instant Automapper