• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

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

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
duz
Asked:
duz
  • 2
  • 2
1 Solution
 
Julian HansenCommented:
You have asked us where scripts are being included on a page you have not given us a reference to.
0
 
zephyr_hex (Megan)DeveloperCommented:
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
 
duzAuthor Commented:
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
 
zephyr_hex (Megan)DeveloperCommented:
Glad you found a resolution.  If you've resolved the problem, you should close out the question.
0
 
duzAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now