mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
better X-Storage-Type
none: Cached: User has no skin. cached: Skin cached checked: cached & checked for updates. No (new) skin downloaded: checked, Skin changed or unknown, downloaded. error: (error)
This commit is contained in:
@@ -38,7 +38,13 @@ block content
|
||||
h4 Response-Time
|
||||
p The time, in milliseconds, it took Crafatar to process the request.
|
||||
h4 X-Storage-Type
|
||||
p Either 'local' or 'downloaded'. Local means that Crafatar already had the image on disk, while downloaded means that it was retrieved from Mojang's skin servers.
|
||||
ul
|
||||
li <b>none</b>: No external requests. Cached: User has no skin.
|
||||
li <b>cached</b>: No external requests. Skin cached and stored locally.
|
||||
li <b>checked</b>: 1 external request. Skin cached, checked for updates, no skin downloaded.<br>
|
||||
| This happens either when the user has no skin or it didn't change.
|
||||
li <b>downloaded</b>: 2 external requests. Skin changed or unknown, downloaded.
|
||||
li <b>error</b>: This can happen, for example, when Mojang's servers are down. If possible, an outdated image will be served instead.
|
||||
|
||||
h3 Examples
|
||||
p Get jeb_'s avatar, 160 × 160 pixels
|
||||
|
||||
Reference in New Issue
Block a user