Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Optimize index.html for Improved Loading Performance #1891

Draft
wants to merge 1,529 commits into
base: master
Choose a base branch
from

Conversation

AbhinavGoel9
Copy link

@AbhinavGoel9 AbhinavGoel9 commented Dec 17, 2023

Issue: #1803

Changes Made:

-Scripts are now set to load asynchronously (async defer) to improve page loading performance.
-External style sheets are kept in the head for faster rendering.
-External scripts are moved to the end of the body to avoid blocking the initial rendering of the page.

Notes:

Please review and test the changes to ensure compatibility.

ImprovedTube and others added 30 commits July 4, 2023 17:32
feat(player.css): Fixed max-height constraint (fixes code-charity#1710)
This should fix disable autoplay still play for a milisecond before the video pause when video is open using new tab.

code-charity#1703
childHandler will skip all the check for iron-iconset-svg element now as we do not have feature that need it for now. which will fix a bit of lag when open youtube on new tab
added yt-icon-shape
@ImprovedTube
Copy link
Member

initial rendering

the scripts are the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.