# gpui: Add SVG rendering to \`img\` element and generic asset cache \(\#9931\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f9becbd3d1fe53da97fb1f01b6531b588b4e5829)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f9becbd3d1fe53da97fb1f01b6531b588b4e5829

Requested commit: f9becbd3d1fe53da97fb1f01b6531b588b4e5829

Commit: f9becbd3d1fe53da97fb1f01b6531b588b4e5829

Tree: 6d0a5562b79371c147779b09a07a8b5c649754aa

Author: Matthias Grandl

Committer: GitHub

## Message

```
gpui: Add SVG rendering to `img` element and generic asset cache (#9931)

This is a follow up to #9436 . It has a cleaner API and generalized the
image_cache to be a generic asset cache, that all GPUI elements can make
use off. The changes have been discussed with @mikayla-maki on Discord.

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
```

## Parents

- [ed5bfcdddcdc2e9e0e3b1245b060d2f5b892104c](https://git.cafe/gitcafe/zed/commit/ed5bfcdddcdc2e9e0e3b1245b060d2f5b892104c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f9becbd3d1fe53da97fb1f01b6531b588b4e5829?format=markdown)
