CDN, friendly imageurls

Vote:
 

Hello!

in cms 12 .net6, I want to use the friendly url from Optimizely in Frontend but in background get the DAM CDN URL that is on a property on the ImageData object.

How would you accomplish that? with an middleware, or has Optimizely something for that?

#308749
Sep 20, 2023 6:33
Vote:
 

Hi Luc,

When you mean DAM CDN URL are you refereing to Cloudflare CDN URL or something else?

A colleague of mine recently presented Edge Rendering Image Urls at the London Meetup.

In this approach we use a custom tag helper to retrieve the edge image url if in a dxp environment, or a friendly url from optimizely if we are developing locally.

Would this be useful?

Paul

#308823
Sep 21, 2023 7:58
Vote:
 

No it is not the Cloudflare CDN, we have the Custom CDN url on the imageproperty. But maybe Minesh Shah approach can work for us too, has he blogged about it? or can put his approach here?

#308826
Sep 21, 2023 8:20
Vote:
 

Hi Luc,

He has not blogged about it just yet, i hear it is coming.

You could reach out to him directly on the Opti Slack maybe and he could share some insights / early preview with you possibly.

Paul

#309479
Sep 25, 2023 8:30
Vote:
 

Luc,

Minesh has shared the code from the demo here https://gist.github.com/MineshS

Check out the tag helper here https://gist.github.com/MineshS/7aeb9eb73192bc00147ca469c8880a31

#309480
Sep 25, 2023 8:36
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.