I have a page with 5 script tags all together at the bottom of the page like this:
<script src="/Scripts/jquery.params.js"></script>
<script src="/Scripts/components/fastclick/lib/fastclick.js"></script>
<script src="/Scripts/components/carousel/jquery.slides.js"></script>
<script src="/Scripts/components/megamenu/jquery.megamenu.js"></script>
<script src="/Scripts/app/app.js"></script>
AvoidRenamingIntrospectiveJavascript is off and CombineAcrossPaths is on (ngx_pagespeed defaults). However none of these files will get combined. rewrite_javascript successfully rewrites all the scripts, but they won't combine. They are collectively 107kb uncompressed, and we have MaxBytes let as the default, so at least some of them should be able to be combined together.
What other situations will cause script files to not be combined? I can send a url for testing via email.
--
Glenn Slaven
Principal Engineer
Ph: (02) 9119 0444
M: 0433 826 255