Solved

How is this .js file loaded but not in the source code.

Posted on 2016-09-19
5
135 Views
Last Modified: 2016-09-20
Google PageSpeed Insights tells me that I should "Enable compression for the following resources to reduce their transfer size by 141.6KiB (88% reduction) by:

Compressing https://s3.amazonaws.com/playerfiles2/and_big_al_081916.js could save 81.9KiB (85% reduction).
Compressing https://s3.amazonaws.com/playerfiles2/and_ua.js could save 59.7KiB (95% reduction).

I can't see these files in the page source code and I can't see where they come from or what they do.

Any ideas?

Thank you.
0
Comment
Question by:duz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 57

Expert Comment

by:Julian Hansen
ID: 41804534
You have asked us where scripts are being included on a page you have not given us a reference to.
0
 
LVL 43

Accepted Solution

by:
zephyr_hex (Megan) earned 500 total points
ID: 41804929
Does the page have references to any other JS files?  If so, look at the source code for those files and see if the references are there.  You'll need to work your way back up the chain of linked files, checking each one for the references.
0
 
LVL 24

Author Comment

by:duz
ID: 41806927
zephyr_hex that was a useful suggestion. I tracked it down to a wordpress plugin which I have now replaced with a similar one but with no secondary js.

Thank you.
0
 
LVL 43

Expert Comment

by:zephyr_hex (Megan)
ID: 41807088
Glad you found a resolution.  If you've resolved the problem, you should close out the question.
0
 
LVL 24

Author Closing Comment

by:duz
ID: 41807112
Thanks
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question