# Avatar Security

**URL:** <https://discuss.88.io/t/avatar-security/467>\
**Category:** OWN SECURITY\
**Created:** [January 11, 2022, 11:58pm UTC](https://discuss.88.io/t/avatar-security/467 "2022-01-11T23:58:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nocovid](https://discuss.88.io/user_avatar/discuss.88.io/nocovid/32/2693_2.png) [@nocovid](https://discuss.88.io/u/nocovid)\
**Post date:** [January 11, 2022, 11:58pm UTC](https://discuss.88.io/t/avatar-security/467/1 "2022-01-11T23:58:10Z")

</div>

# 1. Avatar Server

Global avatars with privacy protection.

 ![avatar](https://discuss.88.io/uploads/default/original/1X/94528a4cfbed48b7f3e1d15ec73ae70fc78245bc.png)

Currently supported avatar generation types:

1. Face
2. Icon
3. Word

Sample:

[https://avatar.88.io/](https://avatar.88.io/)

## Animated Avatars

Animated Avatars can be generated using [Partition AI](https://partitionai.com).

> **[GitHub - bryandlee/animegan2-pytorch: PyTorch implementation of AnimeGANv2](https://github.com/bryandlee/animegan2-pytorch)**
>
> PyTorch implementation of AnimeGANv2

---

<div class="post-metadata">

**Author:** ![admin](https://discuss.88.io/user_avatar/discuss.88.io/admin/32/38_2.png) [@admin](https://discuss.88.io/u/admin)\
**Post date:** [February 20, 2026, 10:13am UTC](https://discuss.88.io/t/avatar-security/467/2 "2026-02-20T10:13:51Z")

</div>

# Avatar Caching

Beside Etag we can also have Cache-Control

- Short Cache  
`Cache-Control: public, max-age=15, stale-while-revalidate=45`

- Long Cache  
`Cache-Control: public, max-age=1500, stale-while-revalidate=300`

---

<div class="post-metadata">

**Author:** ![admin](https://discuss.88.io/user_avatar/discuss.88.io/admin/32/38_2.png) [@admin](https://discuss.88.io/u/admin)\
**Post date:** [February 20, 2026, 11:08am UTC](https://discuss.88.io/t/avatar-security/467/3 "2026-02-20T11:08:24Z")

</div>

# XMPP Avatar

Based on XEP-0054 (vcard-temp):

> **[XEP-0054: vcard-temp](https://xmpp.org/extensions/xep-0054.html)**

It calls `get_vcard()` and reads

- `vCard/PHOTO/TYPE`
- `vCard/PHOTO/BINVAL`

Note possible restriction:

- Remote server blocks vCard-temp for privacy/anti-scraping.
- Server requires presence subscription (you must be in each other’s roster) before vCards are accessible.
- No s2s between domains, or s2s is restricted.
- Rate limits or access controls.
- Some servers prefer/only support XEP-0084 (PEP avatars) and don’t expose vCard photos reliably.
