For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrating Static CDN Resource

Integrate a Small or Large CDN Resource with your website or application to deliver content through Medianova CDN.

After creating a Small CDN Resource or Large CDN Resource, you must configure your website or application to deliver static assets through the CDN instead of directly from your origin server.

This guide explains how to update asset references, verify content delivery, and configure your origin environment for successful CDN integration.

Before integrating your CDN resource, ensure that it has been created successfully and is in an active state.

For resource-specific integration guidance, open your CDN Resource and select Setup Guide in the Medianova Control Panel.

The Setup Guide displays your CDN URL, provides asset URL examples, and lets you test an existing asset through the CDN.

Prerequisites

Before you begin, ensure that you have:

  • A configured Small CDN Resource or Large CDN Resource

  • Access to your website, application, or CMS configuration

  • Permission to modify your origin server configuration

  • Permission to update firewall rules if required

Integrate Your CDN Resource

1

Identify Content to Deliver Through the CDN

Determine which resources should be delivered through the CDN.

For Small CDN Resources, typical static assets include:

  • CSS files

  • Fonts

  • Images

  • JavaScript files

Large CDN Resources can be used for larger downloadable or media files according to your resource configuration.

2

Update Asset URLs

Replace origin URLs with your CDN hostname.

Example:

Before

<img src="https://example.com/images/logo.png">

After

<img src="https://cdn.example.com/images/logo.png">

Apply the same change wherever the selected assets are referenced by your website or application.

You can find your resource-specific CDN URL and copyable Image, CSS, and JavaScript examples under Setup Guide in the Medianova Control Panel.

3

Update Your Application or CMS

If your website uses a CMS or web framework, configure it to use the CDN hostname for the selected content.

Depending on your application, this may require updating:

  • Asset URL settings

  • CDN integration settings or plugins

  • Environment variables

  • Static asset host configuration

4

Allow CDN Access to Your Origin

If your origin server is protected by a firewall, allow requests from Medianova edge servers.

See Medianova IP Blocks.

See Medianova IP Blocks for the required network information.

5

Verify Content Delivery

Test an existing asset using its CDN URL and confirm that it loads as expected.

You can also use Setup Guide → Check your setup in the Medianova Control Panel. Enter the path of an existing asset and select Open asset to test it through the CDN.

When testing through your website or application, use browser developer tools to inspect:

  • Cache-related response headers

  • HTTP status code

  • Request URL

  • Response headers

6

Validate Cache Behavior

For content intended to be cached, verify that:

  • The response is eligible for caching according to the configured cache policy.

  • Cache-related response headers have the expected values.

  • Subsequent requests exhibit the expected CDN cache behavior.

7

Test Your Website or Application

Verify the affected content and application functionality after integration.

Confirm that:

  • CDN URLs resolve correctly.

  • Images and other assets load successfully.

  • CSS and fonts are loaded correctly.

  • JavaScript functions as expected.

  • Downloadable content remains accessible.

Troubleshooting

If content is not delivered as expected, verify that:

  • Asset URLs use the correct CDN hostname.

  • The requested asset path exists on the origin.

  • The origin server is reachable from the CDN.

  • Firewall rules allow the required Medianova IP blocks.

  • DNS configuration is correct when using a custom domain.

  • The configured cache policy matches the expected caching behavior.

For additional troubleshooting guidance, see Troubleshooting Common Setup Issues

Last updated

Was this helpful?