Jump to content

Recommended Posts

AFFASocial
Posted (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 by cnjnorton
Posted

Hi, welcome. What is general.js? That is not one of our files.

AFFASocial
Posted

nope but it still increased my loads  :)  so i thought id share it  :)

AFFASocial
Posted

checking out the js files now :)

Posted

Well, let us know what you find :)

AFFASocial
Posted

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
Posted (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 by cnjnorton
pir8radio
Posted

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
Posted

for me it seems to make a difference..   Unset(mixed Content) slows things down,  can you explain why ???? 

Posted (edited)

Hmmm maybe because unset content is alot more demanding to identify?

Edited by Vidman
Posted (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 by jordy
AFFASocial
Posted

also is their suppose to be a wizardlibrary.js  I do not see one  ??????????????????????

Posted

I would suggest just pressing play and watching your movies :)

  • Like 1
Guest asrequested
Posted

I would suggest just pressing play and watching your movies :)

 

lol

Koleckai Silvestri
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...