mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
add CloudFlare caching notice
This commit is contained in:
parent
44a6a4961d
commit
c915c6699f
@ -210,7 +210,7 @@
|
|||||||
<p>
|
<p>
|
||||||
We <strong>strongly</strong> advise you to use UUIDs instead of usernames! UUIDs never change while usernames do.<br>
|
We <strong>strongly</strong> advise you to use UUIDs instead of usernames! UUIDs never change while usernames do.<br>
|
||||||
Looking up players by username has officially been deprecated by Mojang ever since UUIDs were introduced.<br>
|
Looking up players by username has officially been deprecated by Mojang ever since UUIDs were introduced.<br>
|
||||||
Crafatar uses a legacy API to retrieve skins for usernames that updates very slowly.<br>
|
Crafatar uses a legacy <span title="Mojang interface we get data from">API</span> to retrieve skins for usernames that updates very slowly.<br>
|
||||||
Skins come without any details, including whether a player uses the Alex or Steve skin model.<br>
|
Skins come without any details, including whether a player uses the Alex or Steve skin model.<br>
|
||||||
Additionally, Mojang has stated that this legacy interface may be disabled anytime, causing all requests to fail.
|
Additionally, Mojang has stated that this legacy interface may be disabled anytime, causing all requests to fail.
|
||||||
</p>
|
</p>
|
||||||
@ -219,9 +219,12 @@
|
|||||||
|
|
||||||
<section id="meta-about-caching">
|
<section id="meta-about-caching">
|
||||||
<h3><a href="#meta-about-caching">About Caching</a></h3>
|
<h3><a href="#meta-about-caching">About Caching</a></h3>
|
||||||
<p>Crafatar caches skins for <%= config.caching.local / 60 %> minutes before checking for skin updates.<br>
|
<p>
|
||||||
|
Crafatar caches skins for <%= config.caching.local / 60 %> minutes before checking for skin updates.<br>
|
||||||
Images are cached in your browser for <%= config.caching.browser / 60 %> minutes until a new request to Crafatar is made.<br>
|
Images are cached in your browser for <%= config.caching.browser / 60 %> minutes until a new request to Crafatar is made.<br>
|
||||||
When you changed your skin you can try clearing your browser cache to see the change faster.</p>
|
In addition, <span title="A CDN and caching proxy">CloudFlare</span> caches up to 2 hours on a per-url basis.
|
||||||
|
</p>
|
||||||
|
<p>When you changed your skin you can try clearing your browser cache to see the change faster.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="meta-cors">
|
<section id="meta-cors">
|
||||||
@ -233,7 +236,7 @@
|
|||||||
<h3><a href="#meta-http-headers">HTTP Headers</a></h3>
|
<h3><a href="#meta-http-headers">HTTP Headers</a></h3>
|
||||||
<p>
|
<p>
|
||||||
Responses come with some custom HTTP headers, useful for debugging.<br>
|
Responses come with some custom HTTP headers, useful for debugging.<br>
|
||||||
Please note that these headers are cached by CloudFlare <small>(CF-Cache-Status: HIT)</small>.
|
Please note that these headers may be cached by <span title="A CDN and caching proxy">CloudFlare</span>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user