What if your websites and applications could pull resources from the same centrally updated place?

They can now with a content delivery network.

Even if you have separate websites or applications you manage, you can deliver content to all of them. Instead of having to mess with images or resources on every platform, you can actually deal with them in one place. You don’t have to upload copies of everything to each website or app separately. Instead, you just use a reference to one central repository.

Multiple sites running the same platform can access images in one location if there’s good network speed between them. So that install only has to monitor images in their own environment in one place.

How a CDN works

A CDN works by keeping commonly-used resources in one central repository. That repository is usually shared across multiple proxy servers, and whenever one thing is changed in the master it’s changed across all servers. That way you’re keeping everything up to date without having to upload each item separately.

Latency can be a downside, which is why CDNs spread their servers geographically. These servers sync with each other and mirror the content from the master across multiple servers. Change something in one place and it changes for all.

APEX static resources

APEX is now able to share resources through its own CDN. An APEX instance can use static resources from a CDN if you set it up correctly (just don’t do it while the instance is live or you’ll break a lot of objects in your schema).

You can also easily set up a single application to just use the CDN resources without applying it to the entire instance. Oracle put together a tutorial on its blog that details the specific code necessary to adjust.

If you use APEX at all, the CDN is likely to make things a lot easier for you so you don’t have to push updates out as much. And with its distributed network of servers, you don’t have to worry about geography-based latency being a problem.

Oracle’s cloud infrastructure is constantly making changes, and if you need someone to stay on top of it, contact LSG Solutions. We’ll help you with all your Oracle Cloud needs.

No tags for this post.