I use netlify to host my website, www.ingo-steinke.de.
After I activated netlify’s asset optimization, all images are now hosted on cloudfront.
While this offers the benefits of quick load time and automatic image file optimization, there is one feature that leaves me unsure about search engine optimization.
The image file paths are changed to cloudfront URLs in my website’s source code already, probably to prevent unnecessary redirects.
But I fear this might make image search engines, like google images, index the cloudfront URLs instead of my website’s URLs (which are still functional, but not used on my website anymore).
Example:
This original image URL serves the image from my website’s domain and with the exact path I intended it to be and to be indexed by image search:
https://www.ingo-steinke.de/img/ingo-steinke-portrait-2020.jpg
This is the image URL used with asset optimization:
https://d33wubrfki0l68.cloudfront.net/1cc7c854a3e57dd05ecaf7f6153d5736820f3d76/58b8a/img/ingo-steinke-portrait-2020.jpg
Is it possible to keep the original URL but make it redirect to the CDN?
Is it possible to use a permanent personalized cloudfront subdomain?
How to achieve this, if necessary?
How to find out if this is even necessary or rather possibly harmful?
Do I have to decide if I rather optimize for webspeed / web performance or image search? What is considered best practice now? Is there any official statement about the dilemma by Google or Bing?