Google Pagespeed Insights (Lighthouse) is telling that I'm not using jquery - pagespeed

On the report of Google Pagespeed Insights on my website I get this suggestion:
When I use the Coverage tab on Chrome Dev tools, just 30% of the jquery.min.js file is not used
Therefore I have the following questions:
If the file is used, why am I getting this suggestion? A bug?
Am I supposed to split the jquery file in two, and load initially just the used part? I've never seen that.

Related

Output Caching Not Working in IIS 7

I can't seem to get my ASP.net webforms site to cache CSS files. In IIS I configure Output Caching following the instructions at the link below. But when I monitor Network activity in F12 tools, there is no sign of caching.
Is there something simple I am missing ?
Link to instructions on configuring Output Cache in IIS
After examining Network activity some more, I noticed a lot of Result values of '403'. I am using JQuery UI libraries and the standard JQuery CSS base file was trying to import all known JQuery UI CSS files (i.e accordion, date picker). I didn't have these in my project. After removing unused imports, I no longer have any '403' results. And also that fixed the caching problem. The CSS files are now being cached.

Google PageSpeed Insights show unidentified scripts in results

I am testing my home page (http://stayuncle.com/home) speed at Google PageSpeed Insights. In result, I am getting few unidentified java script. I have no idea how they get into the results.
Can someone help me to understand how they get into result?
If you open up a network tab and view the results when the page loads you will see that those scripts load with the page. This script isn't coming from Google PageSpeed, but rather from your own site. It seems to be coming from a metrics script and is pushing mixpanel results.
This is the URL inside the script.
http://popcornmetrics.com/legal
Unfortunately, I am not able to see what initiated the script. You might want to go through each of your JavaScript files and check if it isn't loaded from there!
What you're seeing is PopcornMetrics script and library installed in your website (http://stayuncle.com/home). Our new library has a minified and gzipped version which will show better results in Google PageSpeed.

Google pagespeed and image_rewrite for direct requests

I have successfully installed Google pagespeed (it took me a while to get it up and running with nginx).
I'm using Meteor as my framework and would like to use image_rewrite. The thing with Meteor is that the HTML gets rendered on the client. Obviously the typical scenario will never pass by pagespeed, meaning pagespeed cannot optimize the page.
What I would like to do is that pagespeed optimizes the image on the http call for that image, but for some reason this does not work. Example:
If i open http://mydomain.com/myimage.jpg in the browser that image should be "pagespeeded" by all the filters that are active. Unfortunately this does not work. Any ideas?
It sounds like you want to turn on InPlaceResourceOptization:
pagespeed InPlaceResourceOptimization on;

ASP.Net website makes browser load unwanted (non-referenced) plugins

I've found that some of my ASP.Net web apps prompt the browser to load plugins that I'm not explicitely using and certainly haven't deliberately referenced in the project settings.
Two that come to mind are for MS MediaPlayer and the "SVG Viewer for Netscape".
The only commonality I've determined so far is that the two sites/apps affected both use Master pages (nested in some cases).
We don't use SVG file types (just the normal mix of jpg/gif/png) and no video/audio (not yet anyway).
Can anyone provide a hint as to where the references for these might be creeping in? e.g. Is it a server-level include? Or a .Net runtime default when using master pages?
Does anyone else even experience this, or is it just me?
No urgency, I'd just like to remove it if possible.
Thanks.
Al
If you look at the page source in your browser, you should see what's in the page that requires a plugin. If you load external Javascript, you will have to look at that too. Do you have ads on the site that include 3rd party code?

Can I use google analytics on vkontakte?

I want to use Google Analytics on my Vkontakte application (written with Flex). Vkontakte does not support naturally in Google Analytics (not as Facebook) which means I can't even put the Google Analytics JS at the bottom of the page (or even use JS for that matter). What I can use is the AS3 library of Google Analytics, but for some reason it reports of failed gif requests every time I use it to report on an event.
Is it even possible to use Google Analytics on the described environment?
If so, what could be the reason of the failed gif requests? Is it debugable?
Update #1:
After debugging the "Google Analytics for flex" source code, I got this error: Error #2035: URL Not Found.
Update #2:
It turns out to be a known bug as suggested here. It works perfectly on IE.
Update #3:
It works on FF when I disable the "ABP Tracking Filter (by rick752)" filter at the "AdBlock Plus" extension.
It's possible, the problems I've experienced were due to FF problem as stated in the question.
One potentially relevant way to debug this: install a network monitor like Fiddler, and look at the requests going over the wire. Do you see the right GIF get downloaded? If so, you're good. If not, you'll see what's going on on the network.
Here's some info from Google on debugging the gif requests. What do you mean when you say it failed?

Resources