AFFASocial 6 Posted July 24, 2016 Posted July 24, 2016 (edited) I just added this to begining of the C:\Users\pcman\AppData\Roaming\Emby-Server\System\dashboard-ui .html pages Enjoy! The defer attribute is used in the HTML code to defer parsing of the javascript until the page is loaded. <script type="text/javascript" src="includes/general.js" defer="defer"></script> Edited July 24, 2016 by cnjnorton
Luke 40104 Posted July 24, 2016 Posted July 24, 2016 Hi, welcome. What is general.js? That is not one of our files.
AFFASocial 6 Posted July 24, 2016 Author Posted July 24, 2016 nope but it still increased my loads so i thought id share it
AFFASocial 6 Posted July 24, 2016 Author Posted July 24, 2016 ok YOUR right ya just include the .js and async <script type="text/javascript" src="/scripts/movies.js" async="async" data-turbolinks-track="true"></script> for movies.html example I will work it until i get instant page loads and share it
AFFASocial 6 Posted July 24, 2016 Author Posted July 24, 2016 (edited) I will share this, I notice that if I have any content in Unset (mixed content) the MOVIE SERVER is much slower, so I change the content to MOVIES and all fast again, MIGHT want to debug the Unset (Mixed Content) FYI I also noticed one I removed Unset(mixed Content) even my Music folder load way faster even when im running a full scan everything is fast so I see issues with unset(mixed cintent) ?? Edited July 24, 2016 by cnjnorton
pir8radio 1305 Posted July 24, 2016 Posted July 24, 2016 All of the javascript is at the bottom of the HTML meaning it will load after everything anyway. wouldn't adding defer or async be redundant? I see async is already on site.js But for $hitts and giggles I edited ALL external javascript calls to defer, then to async (using reverse proxy rewrite) and didn't notice any difference between none, defer, or async. But I guess I wouldn't expect there to be a difference because the script calls are at the bottom of the HTML file.... Maybe that info will help you in some way.... I wish you good luck on your hunt!
AFFASocial 6 Posted July 25, 2016 Author Posted July 25, 2016 for me it seems to make a difference.. Unset(mixed Content) slows things down, can you explain why ????
Vidman 590 Posted July 25, 2016 Posted July 25, 2016 (edited) Hmmm maybe because unset content is alot more demanding to identify? Edited July 25, 2016 by Vidman
jordy 284 Posted July 25, 2016 Posted July 25, 2016 (edited) Yeah agreed, but after it has been identified it shouldn't be an issue - unless there have been changes to the item(s). In other words: It should only be slow the first time Sounds like this is not the case... Edited July 25, 2016 by jordy
AFFASocial 6 Posted July 25, 2016 Author Posted July 25, 2016 also is their suppose to be a wizardlibrary.js I do not see one ??????????????????????
Luke 40104 Posted July 25, 2016 Posted July 25, 2016 I would suggest just pressing play and watching your movies 1
Guest asrequested Posted July 25, 2016 Posted July 25, 2016 I would suggest just pressing play and watching your movies lol
Koleckai Silvestri 1151 Posted July 25, 2016 Posted July 25, 2016 Your browser plugins will load their own JavaScript to manipulate pages. The Pinterest overlay on images is an example of this. This could be where your unknown JavaScript files are coming from. Turning off these plugins will speed up the web client.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now