Solved

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

Posted on 2016-09-19
5
73 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 51

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now