Solved

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

Posted on 2016-09-19
5
112 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
  • 2
  • 2
5 Comments
 
LVL 54

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 42

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 42

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

770 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