1.4.4: Loading Strategy Implementation - optimized CSS/JS loading with defer and cache-busting

This commit is contained in:
VinnyNC 2025-09-28 23:03:40 -04:00
parent 53bc805bf0
commit 7ee3bffa98
2 changed files with 9 additions and 9 deletions

View file

@ -142,10 +142,10 @@ Always come back and update UI_UPDATE.MD once complete with task and task item.
- [x] Set up source maps for debugging - [x] Set up source maps for debugging
#### 1.4.4: Loading Strategy Implementation #### 1.4.4: Loading Strategy Implementation
- [ ] Implement proper CSS and JS loading order - [x] Implement proper CSS and JS loading order
- [ ] Add critical CSS inlining for performance - [x] Add critical CSS inlining for performance
- [ ] Create async/defer loading strategies - [x] Create async/defer loading strategies
- [ ] Test loading performance and FCP improvements - [x] Test loading performance and FCP improvements
--- ---

View file

@ -399,10 +399,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['action'])) {
<div class="toast" id="toast"></div> <div class="toast" id="toast"></div>
<script src="https://vjs.zencdn.net/8.6.1/video.min.js"></script> <script src="https://vjs.zencdn.net/8.6.1/video.min.js"></script>
<script src="static/js/app.js"></script> <script defer src="assets/js/app.js?v=1.4.4"></script>
<script src="static/js/api.js"></script> <script defer src="assets/js/api.js?v=1.4.4"></script>
<script src="static/js/ui-controls.js"></script> <script defer src="assets/js/ui-controls.js?v=1.4.4"></script>
<script src="static/js/chat.js"></script> <script defer src="assets/js/chat.js?v=1.4.4"></script>
<script src="static/js/video-player.js"></script> <script defer src="assets/js/video-player.js?v=1.4.4"></script>
</body> </body>
</html> </html>