🎉 Improved performance with optimized CSS file 📦🐛 in backend/static/css/performance-optimized.css & backend/templates/base.html.

This commit is contained in:
2025-06-03 22:40:56 +02:00
parent 612726698a
commit 3f34d40fe3
3 changed files with 212 additions and 5 deletions

View File

@ -25,11 +25,16 @@
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='icons/apple-touch-icon.png') }}">
<link rel="mask-icon" href="{{ url_for('static', filename='favicon.svg') }}" color="#000000">
<!-- CSS -->
<!-- CSS - Performance Optimized -->
<link href="{{ url_for('static', filename='css/tailwind.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/components.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/professional-theme.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/optimization-animations.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/performance-optimized.css') }}" rel="stylesheet">
<!-- Conditional loading for non-critical CSS -->
<link href="{{ url_for('static', filename='css/components.min.css') }}" rel="stylesheet" media="print" onload="this.media='all'">
<link href="{{ url_for('static', filename='css/professional-theme.min.css') }}" rel="stylesheet" media="print" onload="this.media='all'">
<noscript>
<link href="{{ url_for('static', filename='css/components.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/professional-theme.min.css') }}" rel="stylesheet">
</noscript>
<!-- Preload critical resources -->
<link rel="preload" href="{{ url_for('static', filename='js/ui-components.js') }}" as="script">