Jump to content

WOW to speed up the page LOADS I DID THIS


AFFASocial

Recommended Posts

AFFASocial

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
Link to comment
Share on other sites

AFFASocial

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

Link to comment
Share on other sites

AFFASocial

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  :)

Link to comment
Share on other sites

AFFASocial

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
Link to comment
Share on other sites

pir8radio

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!  

Link to comment
Share on other sites

AFFASocial

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

Link to comment
Share on other sites

Vidman

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

Edited by Vidman
Link to comment
Share on other sites

jordy

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
Link to comment
Share on other sites

AFFASocial

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

Link to comment
Share on other sites

Koleckai Silvestri

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.

Link to comment
Share on other sites

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...