Quick question regarding CSS sprites and memory usage

后端 未结 3 858
太阳男子
太阳男子 2021-02-07 10:09

Well, it\'s more to do with images and memory in general. If I use the same image multiple times on a page, will each image be consolidated in memory? Or will each image use a

3条回答
  •  Happy的楠姐
    2021-02-07 10:39

    The image will show up one time in the cache (as long as the url is the same and there's no query string appended to the file name). Spriting is the way to go.

提交回复
热议问题