Skip to content

Commit 8616517

Browse files
committed
load non-critical css later
1 parent d3dd65f commit 8616517

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library_db/templates/base.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<meta name="description" content="Library Website" />
99
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
1010
<script src="/static/js/bootstrap.bundle.min.js"></script>
11-
<link href="/static/fontawesome/css/fontawesome.css" rel="stylesheet" />
12-
<link href="/static/fontawesome/css/solid.css" rel="stylesheet" />
13-
<link href="/static/fontawesome/css/brands.css" rel="stylesheet" />
11+
<link rel="preload" href="/static/fontawesome/css/fontawesome.css" as="style" onload="this.onload=null;this.rel='stylesheet'"/>
12+
<link rel="preload" href="/static/fontawesome/css/solid.css" as="style" onload="this.onload=null;this.rel='stylesheet'"/>
13+
<link rel="preload" href="/static/fontawesome/css/brands.css" as="style" onload="this.onload=null;this.rel='stylesheet'"/>
1414
<title>
1515
{% block title %}{% endblock %}
1616
- SQL Library</title>

0 commit comments

Comments
 (0)