Results 1 to 8 of 8

Thread: Defer parsing of javascript and Remove Unnecessary Javascript

  1. #1
    Thread Starter
    Expired Customer trigunmike's Avatar
    Join Date
    Dec 2015
    Posts
    42
    Thanks
    0
    Thanked 1 Time in 1 Post

    Defer parsing of javascript and Remove Unnecessary Javascript

    Hi,

    My site's pagespeed score is too low because of the numerous Javascripts that are being loaded. Not sure if all of these are really needed when only viewing an Ad.
    Now I have 2 questions with respect to this.

    1. Is it possible to remove unused Javascripts specially when viewing Ads? Maybe some of these Javascripts are being used when creating ads but not when viewing one?

    2. How can I defer the loading of these Javascripts? Google Pagespeed suggests to defer parsing of these Javascripts


    Below are the list of Javascripts that are being loaded when viewing an ad and it comprises more than half the size of the page.

    370.9KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.
    http://mysite.com/wp-includes/js/jqu....js?ver=1.11.3 (85.9KiB)
    http://mysite.com/wp-content/plugins....6.0&ver=4.4.2 (83.4KiB)
    http://mysite.com/wp-content/plugins....6.0&ver=4.4.2 (82.4KiB)
    http://staticxx.facebook.com/connect...php?version=42 (28.8KiB of inline JavaScript)
    https://staticxx.facebook.com/connec...php?version=42 (28.8KiB of inline JavaScript)
    http://mysite.com/wp-content/themes/....js?ver=1.13.0 (18.7KiB)
    http://mysite.com/wp-content/themes/...n.js?ver=2.0.3 (11.3KiB)
    http://mysite.com/wp-content/themes/...n.js?ver=1.6.1 (9.7KiB)
    http://mysite.com/wp-content/themes/...n.js?ver=3.3.3 (7.9KiB)
    http://mysite.com/wp-includes/js/jqu...n.js?ver=1.2.1 (5.5KiB)
    http://mysite.com/ads/toyota-vios-20...ransmission-2/ (3.8KiB of inline JavaScript)
    http://mysite.com/wp-content/plugins...s.js?ver=4.4.2 (1.4KiB)
    http://mysite.com/wp-content/themes/...nav.js?ver=1.1 (1.2KiB)
    http://mysite.com/wp-content/themes/...p.js?ver=4.4.2 (1.1KiB)
    http://mysite.com/wp-content/themes/...g.js?ver=4.4.2 (637B)
    http://mysite.com/wp-content/themes/...s.js?ver=4.4.2 (403B)


    Thanks in advance...

  2. #2
    Thread Starter
    Expired Customer trigunmike's Avatar
    Join Date
    Dec 2015
    Posts
    42
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer trigunmike's Avatar
    Join Date
    Dec 2015
    Posts
    42
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Expired Customer trigunmike's Avatar
    Join Date
    Dec 2015
    Posts
    42
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Expired Customer trigunmike's Avatar
    Join Date
    Dec 2015
    Posts
    42
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Junior Member jitolmagada's Avatar
    Join Date
    Jul 2011
    Location
    Malaysia
    Posts
    23
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Expired Customer hmmueller's Avatar
    Join Date
    Mar 2016
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    rayraven's Avatar
    Join Date
    Jan 2014
    Location
    Nottingham, UK
    Posts
    508
    Thanks
    12
    Thanked 29 Times in 26 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Javascript
    By flavourik in forum Koupon
    Replies: 1
    Last Post: January 8th, 2015, 05:04 AM
  2. Jomark Defer parsing JavaScript to reduce blocking of page rendering
    By cilldara in forum Help Using JobRoller
    Replies: 2
    Last Post: June 7th, 2014, 09:38 PM
  3. Jomark Remove render-blocking JavaScript?
    By gangadhar98 in forum Clipper General Discussion
    Replies: 1
    Last Post: February 12th, 2014, 12:20 PM
  4. [SOLVED] Problem of JavaScript?
    By labo17 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: January 17th, 2014, 05:16 PM
  5. [SOLVED] Javascript errors
    By sitopro in forum ClassiPress General Discussion
    Replies: 5
    Last Post: March 24th, 2011, 05:03 PM