The file is delivered via Mediaflow's CDN, a network of servers in different locations, close to the visitor. That gives you redundancy, and the file loads faster than if every visitor fetched it from the same server.
How to create a public link
- Right-click the file in the media library and choose Share, then Create public link.
- Give the link a name and click Create.
- Follow the progress while the link is created. When it's ready, copy the URL straight from the notification, which stays open until you close it.
The name is there for your own benefit. A file can have several public links for different purposes, and the name is what tells you which link belongs to what.
Clear marking in Mediaflow on images with a CDN link
Files with a public link are marked in the media library, so you can see at a glance which files are shared publicly. In the file's information tab, all its links are gathered under Public links. That's where you copy a link or delete it. Before a link is deleted, you're asked to confirm, since everyone using the URL loses access at the same moment.
That's what makes the CDN workflow so powerful. You avoid spreading multiple copies and can keep track of which files are published where.
Why the link lasts over time
A public link doesn't point to a copy. It points to a publication, and the publication has three properties that keep it useful long after you created it.
The URL stays the same for the lifetime of the publication. If you replace the source file behind the publication via Mediaflow's API, a new version is created and the copies across the CDN network are replaced. Nobody has to hunt down and change links. A visitor who already has the image in their browser may see the old version for up to an hour. We're working on a solution that swaps images automatically when a file is updated in Mediaflow.
Each publication has its own default settings for size, format, quality and cropping. The same original image can therefore be published several times, once as a hero image and once in an article, without the settings clashing. This image processing happens on Mediaflow's own servers. You don't need to prepare variants in advance. Mediaflow delivers JPEG, PNG, WebP or AVIF and picks the format the visitor's browser handles best.
Features on the way
- Automatic connection to the media library, so the publication updates itself when you replace an image
- Quarantine, so you can pause a publication before it disappears for good
- The option to choose a provider per account. More EU-based providers, including a Swedish one
- CDN support in our CMS integrations, starting with Optimizely
How to get started with CDN
Public links are part of the CDN module. If you have it activated, you can start using the feature right away. Curious about CDN? Talk to your account manager.
Want to read more about how CDN works, where the files are delivered from and how we handle data protection? You'll find it all on our page about CDN in Mediaflow.