Hi,
We are testing PageSpeed on one of our applications. This application is a coldfusion site hosted on IIS 7. At this point in IIS, it is designed in such a way that the UAT url adds the actual word "uat" to the end of prod URL. for example,
www.mytestsite.com/uat, which is a uat site, and its corresponding prod site would be
www.mytestsite.com. This change does not happen at IIS level, but within the application, where the paths are manipulated. Additionally, some resources are being referenced from prod site/network as well.
So, the issue that is happening is that when pagespeed generates its URLs to reference js, css, it actually generates prod urls but not uat urls. For example, it will create
www.mytestsite.com/pagespeed_static/js_defer_xxxx.js, which will obviously fail. Instead it needs to create
www.mytestsite.com/uat/pagespeed_static/js_defer_xxxx.js.
Because of these issues, some pages get 404 for certain resources, including pagespeed itself when it tries to reference certain resources.
How do we get around this issue?
Thanks!
Saumin