开发者

When do background images from a style sheet get downloaded?

开发者 https://www.devze.com 2023-04-07 18:19 出处:网络
When a user downloads a style sheet, do all background images specified in that style sheet get downloaded as well? Or, are background ima开发者_StackOverflowges only downloaded as needed based on the

When a user downloads a style sheet, do all background images specified in that style sheet get downloaded as well? Or, are background ima开发者_StackOverflowges only downloaded as needed based on the CSS rules that apply to the current page?


They only get downloaded as they are needed. To verify, use Chrome Debugger tools network tab and watch what gets requested.


Images, scripts, and stylesheets are downloaded as needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消