Current time: 08-23-2019, 11:07 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
where is the java script
02-20-2015, 08:04 PM
Post: #1
where is the java script
Hi, I am new to website building. It looks like my website http://www.androiddreamer.com has a lot javascript which slows down. I am not sure where is the script situated and what can I do to improve it.
Find all posts by this user
Quote this message in a reply
02-23-2015, 08:38 AM
Post: #2
RE: where is the java script
Looks like you're using Wordpress, so you might be able to speed it up automatically by using some of these plugins: http://premium.wpmudev.org/blog/10-plugi...zing-fast/
Find all posts by this user
Quote this message in a reply
02-23-2015, 10:35 PM (This post was last modified: 02-23-2015 10:40 PM by ajm_76.)
Post: #3
RE: where is the java script
(02-20-2015 08:04 PM)liguolong Wrote:  Hi, I am new to website building. It looks like my website http://www.androiddreamer.com has a lot javascript which slows down. I am not sure where is the script situated and what can I do to improve it.

Hi liguolong,

The site isn't optimized very well but JavaScript is not the primary problem (since it is being deferred).

Slider Revolution's captions.php?rev=4.3.8 file is pushing DOM Content Loaded out to around 14 seconds (on average), which means that Google's .woff files for the Web fonts you're using are not being applied until then, after DOM content is fully present. This explains some of the strange-looking loading behavior.

You have a few different options:
1.) You don't appear to actually be using Revolution Slider so you could disable it;
2.) You could stuff all of the necessary .woff files into the browser as a subresource (Chrome; "prefetch" for Firefox), thereby making those files available prior to DOM Content Loaded (assuming, of course, that the browser takes the hint). Doing this will not really improve the site's Document Complete or Fully Loaded times, but will appear to for the end user.
3.) Instead of using the "defer" attribute on your JavaScript files, you could try "async" which will bring DOM Content Loaded much closer to the first paint thereby applying Google's .woff files sooner. "Async" may break things, however.

There are quite a few more issues, but fixing the above will do a lot.

Best,
AJ
Managing Partner
WpFASTER

Make your WordPress website or blog not just faster & not merely fast, but one of the fastest sites in the ENTIRE WORLD.

Performance. Speed. Get Some. WpFASTER!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)