Răsfoiți Sursa

add CloudFlare caching notice

jomo 9 ani în urmă
părinte
comite
c915c6699f
1 a modificat fișierele cu 7 adăugiri și 4 ștergeri
  1. 7 4
      lib/views/index.html.ejs

+ 7 - 4
lib/views/index.html.ejs

@@ -210,7 +210,7 @@
             <p>
               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>
-              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>
               Additionally, Mojang has stated that this legacy interface may be disabled anytime, causing all requests to fail.
             </p>
@@ -219,9 +219,12 @@
 
           <section id="meta-about-caching">
             <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>
-              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 id="meta-cors">
@@ -233,7 +236,7 @@
             <h3><a href="#meta-http-headers">HTTP Headers</a></h3>
             <p>
               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>
 
             <ul>