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).
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.
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.
then why page speed mentions to Compress it
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.
This topic is now closed. New replies are no longer allowed.