Add dns prefetch to plausible

This commit is contained in:
Gabriel Augendre 2020-12-24 18:29:03 +01:00
parent e23b988c55
commit 86e1835a47
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -1,3 +1,3 @@
{% if plausible_domain is not None and not user.is_authenticated %}
<script async defer data-domain="{{ plausible_domain }}" src="https://plausible.augendre.info/js/plausible.js"></script>
<script async defer data-domain="{{ plausible_domain }}" rel="dns-prefetch" src="https://plausible.augendre.info/js/plausible.js"></script>
{% endif %}