We have noticed a weird behaviour on Dxcprod environment, it is very slow in loading the site and few images are not rendering, when the page is fully loaded.
ImageProcessor tries to find image file in Blobs mysitemedia/_3p!_static and fails.
Kindly let us know your suggestions on this issue.
Hi Umavarsni D
Did you check the path is right?
Kindly let us know which path are you reffering to?
Blob's path and can you check these images are present or not.
Yes, the path are correct, but we are not sure of why /_3p!_static is getting added.
Also, the images are present, as we do not have this issue in integration, preproduction and www site.
From Application insights, we could see it loads from container as,
dxcprod : mysitemedia/_3p!_static/3p!_XXXXXX
Failed Method : ImageProcessor.Web.HttpModules.ImageProcessingModule.SetHeaders
Message : Server cannot append header after HTTP headers have been sent.
Can you check your hostname defined under your website (Admin->Manage websites) correctly? Missing the correct hostname value would cause this issue.
Let me know if it helps.
Yes, DXCPROD is already defined as one of hostname and we have www as the primary site. But still we face this issue.
Few images are loaded, but few of them are not loading.
I'm not sure If I understand "DXCPROD is already defined as one of hostname and we have www as the primary site" correctly. What do you mean by DXCPROD? Is that same to www host that set as primary site? If not, I believe this is expected , and you can find some info from the link below
ImageProcessor error: Server cannot append header after HTTP headers have been sent. – Support Help Center (optimizely.com)
www is the main site and dxcprod is used by CMS editors, both are the same. we face issue only when we open as dxcprod site