I'm wondering why? is it a requirement of pagespeed to store all javascript locally?
I found this in my pagespeed.conf
# ModPagespeedDomain
# authorizes rewriting of JS, CSS, and Image files found in this
# domain. By default only resources with the same origin as the
# HTML file are rewritten.
However, this doesn't seem to be the case when external js files are just chucked off the DOM.
EDIT
Ok, so with the default settings third party js resources located in the head section. ex:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
is removed from the source code with pagespeed. So i did a bit of digging and fooled around with different settings. And what i came up with is that it seems that the following filtes causes the issue:
combine_css
inline_css
What i did was that i enabled one filter at a time until i got the "error".
This has to be a bug? doesn't it?
There are 4 problems here that are contriving to break this example:
Fixing any one of these 4 problems will resolve this. Problems 3 & 4 are fixed in 0.9.17.3, which is available in source-code form but not yet as a binary. We're in the process of releasing this.
This issue is also reported as http://code.google.com/p/modpagespeed/issues/detail?id=292 which is really a duplicate of http://code.google.com/p/modpagespeed/issues/detail?id=252