mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
home: Add rel=dns-prefetch to Gravatar and any Zulip avatar host.
This hints to the browser that it should start DNS lookups for the host, since it is likely to be necessary. It is a softer form than `rel-preconnect`, which may be unnecessary in these cases, if the client has the resources cached already.
This commit is contained in:
committed by
Tim Abbott
parent
00dfb60f5b
commit
854ec40def
@@ -8,6 +8,10 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block customhead %}
|
||||
{% if enable_gravatar %}<link rel="dns-prefetch" href="https://secure.gravatar.com" />
|
||||
{% endif -%}
|
||||
{% if s3_avatar_public_url_prefix %}<link rel="dns-prefetch" href="{{ s3_avatar_public_url_prefix }}" />
|
||||
{% endif -%}
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link href="{{ static('images/logo/apple-touch-icon-precomposed.png') }}" rel="apple-touch-icon-precomposed" />
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user