Knowledge Base
medianova.comSupportLog in
  • Welcome to the Medianova Knowledge Base
  • Getting Started
    • Concepts
    • Start your Free Trial
  • Products
    • Security
      • DDoS Protection
      • SSL/TLS Encryption
        • How to upload and manage SSL Certificates?
        • How to Extract CRT and KEY Files from a PFX Certificate
        • How can I use Free SSL?
        • FAQ
      • Web Application Firewall (WAF)
        • How to activate WAF?
        • Analytics
      • Rate Limiting
      • Hotlink Protection
      • IP Restriction
      • Geoblocking
      • FAQs
    • Performance / CDN
      • Static Content Delivery
        • Create Small Resource
        • Create Large Resource
        • Integrating Static CDN Resource
        • Configuration Basics
          • Medianova IP Blocks
        • Advanced Configuration
          • Origin Settings
            • Advanced Origin Settings
            • Rewrite Origin URLs
            • Origin SNI Request
            • Redirect Handle From Origin
            • Origin Response Timeout
          • CNAME
          • Caching
            • Edge Cache Expiration
            • Browser Cache Rule
            • Query String Caching
            • Etag Verification
            • Error Status Code Cache Expiration
            • Shared Cache
            • Stale Cache
            • Robots.txt file
            • Range Based Caching
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
            • HTTP Strict Transport (HSTS) Protection
            • X-Frame Options
            • X-XSS Protection
            • X-Content Type Options
          • Purge
          • Prefetch
          • Page Rules
            • Manage Page Rules
            • Page Rules Settings
          • Compression
            • How to Configure Gzip and Brotli
        • Website Framework Integrations
          • Magento CDN Integration
          • Wordpress CDN Integration
          • Phalcon CDN Integration
          • CakePHP CDN Integration
        • Analytics
      • Dynamic Content Acceleration
        • Create Dynamic Resource
        • Integrating Dynamic CDN Resource
        • Aksela Test Steps
        • Advanced Configuration
          • Origin Settings
            • Advanced Origin Settings
            • Rewrite Origin URLs
            • Origin SNI Request
            • Redirect Handle From Origin
            • Origin Response Timeout
          • Caching
            • Edge Cache Expiration
            • Browser Cache Rule
            • Query String Caching
            • Etag Verification
            • Error Status Code Cache Expiration
            • Shared Cache
            • Stale Cache
            • Disallow Cookie Base Cache
            • Cookie Base Cache
            • Header Base Cache
            • Header Value Base Cache
            • MNUID Cookie Base Cache
            • Mobile Redirect
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
            • HTTP Strict Transport (HSTS) Protection
            • X-Frame Options
            • X-XSS Protection
            • X-Content Type Options
          • Purge
          • Prefetch
          • Page Rules
          • Compression
        • Analytics
      • Streaming Content Delivery
        • Create Streaming Resource
        • Advanced Configuration
          • Origin Settings
            • Redirect Handle From Origin
            • Origin Response Timeout
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
          • Stream Management
        • Analytics
      • API Caching
      • Private CDN
      • Image Optimization and WebP
        • What is Image Optimization and How Does It Work?
        • What is WebP and How Does It Work?
        • How to Activate Image Optimization and WebP?
        • Analytics
      • FAQs
    • Object Storage / Stook
      • What is Stook?
      • How to Create Stook?
      • How to Connect Bucket?
      • Access Key Management
      • Stook Integration and Usage Guides
        • Migrating Data to Stook Using Rclone
        • Data Transfer to Stook with Cyberduck
        • How to use the AWS SDK for Laravel with Stook?
        • How to use the AWS SDK for PHP with Stook?
        • How do I use the AWS SDK for .NET with Stook?
        • Stook Storage User Guide for AWS CLI
        • How to use AWS SDK for JavaScript with Stook?
        • How do I use Stook with the AWS Java SDK?
        • Using Pre-Signed URL PHP with Stook
        • Using Pre-Marked URL NODEJS With Stook
    • Analytics (MN Logz)
      • Real-Time Logpush
      • Raw Logs
  • Account & Billing
    • Managing Account and Organizations
      • Create new organization
      • Invite user
      • Changing Cloud Panel password
      • Access Controls and Authentication
    • Subscription and Billing
      • Packages
        • Free Trial
        • Starter
        • Growth
        • Enterprise
        • Add-ons
      • Policy
      • Upgrade & Downgrade Procedures
      • Changing your subscription package
      • Payment Info
      • Invoices
  • API Documentation
    • Authentication
    • Security
      • Web Application Firewall (WAF)
      • SSL/TLS
      • Always Use HTTPS Settings
      • Origin Basic Authentication
      • Secure Token
      • Bot Protection
      • Hotlink Protection
      • User Agent ACL
      • IP Restriction ACL
      • Geoblocking
    • Performance / CDN
      • Resources
      • Origin Settings
      • CNAME & SSL
      • Caching
      • Headers
      • Image Optimization & WebP
      • Page Rule
      • Purge
      • Prefetch
      • Stream Management
    • Object Storage / Stook
    • Analytics
      • WAF Analytics
  • Support and Troubleshooting
    • Common Issues and Solutions
      • Troubleshooting Common Setup Issues
      • Troubleshooting Performance Problems
    • Contacting Customer Support
  • Glossary
    • Definition of Important CDN Terms
    • Acronyms and Abbreviations
    • Definition of HTTP Status Error Codes
Powered by GitBook
LogoLogo

© 2025 Medianova. All rights reserved.

On this page

Was this helpful?

Export as PDF
  1. Products
  2. Performance / CDN
  3. Static Content Delivery

Integrating Static CDN Resource

Last updated 5 months ago

Was this helpful?

To begin seamlessly integrating Medianova CDN with your website, you should first create your CDN Resource tailored to your content type that you intend to distribute through CDN. For small-sized contents such as images, js, and CSS, create a Small CDN Resource, while for video contents, create a Large CDN Resource. Please refer to the for instructions if you haven’t created your CDN Resource yet.

  1. Identify Static Assets:

Identify the static assets on your website that can benefit from CDN acceleration. These may include images, stylesheets, scripts, and other static files.

  1. Update URLs in HTML Code:

Replace the URLs of static assets in your HTML code with the corresponding CDN URLs. Update the "src" or "href" attributes of image tags, script tags, link tags, etc., to point to the CDN.

HTML

  • Before CDN Integration →

<img src="https://yourdomain.com/images/example.jpg"alt="Example Image">

  • After CDN Integration →

<imgsrc="https://CDN_URL/images/example.jpg" alt="Example Image">

  1. Update CSS File References:

If your stylesheets are hosted locally, update the references to these files in your HTML to point to the CDN. Similarly, replace any background images or other assets within your CSS files.

CSS

  • Before CDN Integration →

background-image: url('/images/background.jpg');

  • After CDN Integration →

background-image: url('https://CDN_URL/images/background.jpg');

  1. Update JavaScript File References:

If your website includes JavaScript files, update references to these files to use the CDN URLs. This ensures that scripts are served through the CDN for improved performance.

HTML

  • Before CDN Integration →

<script src="/scripts/example.js"></script>

  • After CDN Integration →

<script src="https://CDN_URL/scripts/example.js"></script>

  1. Consider Relative Paths:

If your URLs are currently specified with relative paths, ensure that they remain functional after CDN integration. Adjust paths as needed to maintain proper file references.

  1. Verify Links and Resources:

Review your website thoroughly to confirm that all links and resources are properly updated to use the CDN. Check for any broken links or missing assets.

  1. Update Content Management Systems (CMS):

If your website uses a CMS (Content Management System) such as WordPress, update any relevant settings or plugins to ensure that URLs are correctly replaced for CDN delivery.

  1. Define IPs in your Firewalls:

  1. Test Across Environments:

Test your website across different environments, including staging and production, to ensure that CDN integration works seamlessly and doesn't introduce any issues.

  1. Monitor and Optimize:

After integration, monitor the CDN's performance using analytics tools provided by your CDN provider. Optimize as needed for improved content delivery and user experience.

  1. Update SEO Considerations:

Consider the impact of CDN integration on SEO. Ensure that search engines are aware of the change and update sitemaps and robots.txt accordingly.

In order to access your content, you also need to define our IPs in your firewalls. to access the IP list of Medianova.

Account Setup Guide
Click