combine_javascript with multiple aliased domains causes JS exception #634
Comments
Original comment by
|
Original comment by
|
I'm facing the same issue. It's been 3 and I assume it's not fixed, right? My setup is the following A.com/b [dir /b proxy_pass to] -> B.com/ [this is where pagespeed is installed] B.com authorizes both domains via URL: <script src="https://a.com/b/somefiles.min.js,qver==1.1.13+readmore.min.js,qver==1.1.13.pagespeed.jc.XQoUShKijI.js"></script>
<script>eval(mod_pagespeed_B4Q2861Jx2);</script> <-- this id are not mentioned in above script
<script>eval(mod_pagespeed_GbZ0EMVee5);</script> <-- this id are not mentioned in above script Same URL at second domain: <script src="https://b.com/somefiles.min.js,qver==1.1.13+readmore.min.js,qver==1.1.13.pagespeed.jc.Rxyn2edOtN.js"></script>
<script>eval(mod_pagespeed_01_huc9P8R);</script> <-- this id IS mentioned in above script
<script>eval(mod_pagespeed_BuMGtAp1Fq);</script> <-- this id IS mentioned in above script What is funny here:
|
its worth to mention that sub_filter is running when A.com alias is used. Sub_filter modifies links b.com -> a.com/b |
I can say for sure that the nginx sub_filter is the cause (not guilty though). Once disabled all ids of combine filter works as expected. |
Maybe it’s a filter ordering issue. Which one runs last, the sub filter or the pagespeed filter? Tweaking the optimized output may break stuff |
@oschaaf afaik there is no way to influence the order of output filters in nginx however I'm sure that sub_filter runs before pagespeed. What sub_filter does is simply changes href links from Is there any hashing of html source involved in pagespeed? Or does it query for html page in background as it does for static resources? |
Original issue reported on code.google.com by
rwap.services
on 4 Mar 2013 at 11:12The text was updated successfully, but these errors were encountered: