- 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!
推薦閱讀
- ASP.NET MVC4框架揭秘
- GeoServer Cookbook
- Mastering Concurrency in Go
- Full-Stack Vue.js 2 and Laravel 5
- 精通Scrapy網絡爬蟲
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Visual Basic程序設計
- Node Cookbook(Second Edition)
- RocketMQ實戰與原理解析
- 深入解析Java編譯器:源碼剖析與實例詳解
- MATLAB 2020 GUI程序設計從入門到精通
- 開發者測試
- Mastering Responsive Web Design
- 零基礎入門Python數據分析與機器學習
- Selenium自動化測試實戰:基于Python