hiddenpearls — 2013-08-27T11:28:52-04:00 — #1
So far I have achieved 79/100.
How I can compress the JS/CSS that is coming from other domains like below ??
http://domain.wufoo.com/scripts/public/dynamic.1028.js?language=english could save 62.4KiB (72% reduction).
http://domain.wufoo.com/stylesheets/public/forms/css/index.1028.css could save 27.5KiB (77% reduction).
http://domain.wufoo.com/css/custom/3/theme.css could save 4.2KiB (74% reduction).
http://www.wufoo.com/scripts/embed/form.js could save 4.1KiB (66% reduction).
scallioxtx — 2013-08-27T13:53:15-04:00 — #2
You can't, since you don't have control over those domains (I assume, or else you wouldn't ask this question, right?)
The only thing you could do is proxy the request via your own server and minify it while proxying.
Or, if the scripts hardly ever (or never) change, download them, minify then, and then serve them yourself.
Both solutions don't work if these are tracking files since it will most likely break the tracking.
felgall — 2013-08-27T15:26:28-04:00 — #3
Also files coming from another site can sometimes be cached already where your visitor has recently visited another site that uses the file. If you do anything to change how the file is referenced you will force them to redownload a file they already have and slow up the loading of your page.
hiddenpearls — 2013-08-27T15:46:14-04:00 — #4
then why page speed mentions to Compress it
scallioxtx — 2013-08-27T17:31:16-04:00 — #5
Because page speed assumes the browser that will visit your site has a completely cache, which is not very realistic. Indeed, if the scripts are commonly used on other websites (like, say, jQuery or something), leaving the setup as you currently have is advisable.