Preload cdn image

I’m kinda new to this, can you preload an image stored on cdn?

Yes. See Link types: preload - HTML: HyperText Markup Language | MDN

I didn’t see on there how to do this, would I just pre load it like any other image like this?

<link rel="preload" as="image" href""