Skip to content

Commit

Permalink
perf: show the content immediately without waiting
Browse files Browse the repository at this point in the history
for the web font to download.
  • Loading branch information
lalver1 committed Jan 23, 2025
1 parent c939e2b commit a51c22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% block preload %}
{% endblock preload %}

<link rel="preload" as="font" href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" crossorigin="anonymous">
<link rel="preload" as="font" href="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap" crossorigin="anonymous">
{% include "core/includes/bootstrap-css.html" %}
<link href="{% static "css/styles.css" %}" rel="stylesheet">
<link href="{% static "img/favicon.ico" %}" rel="icon" type="image/x-icon" />
Expand Down

0 comments on commit a51c22c

Please sign in to comment.