Modern websites must load extremely fast to provide a good user experience and improve SEO rankings. One of the most powerful ways to improve performance is by using a Content Delivery Network (CDN).
SHONiR CMS is designed with performance in mind and includes a built-in multiple CDN configuration system. This allows website owners to distribute different types of static files across multiple CDN providers, improving load speed and reducing server load.
This guide explains how to configure and use multiple CDN URLs in SHONiR CMS using phpMyAdmin.
All CDN and resource URLs are stored inside the tbl_config table in the database.
Follow these steps to access the configuration:
tbl_config
This table contains the following columns:
config_idconfig_keyconfig_valueconfig_modeTo locate the CDN related configuration values:
LIKE %url%
You will see the following configuration keys:
assets_url
uploads_url
img_url
base_url
css_url
js_url
cdn_url
Each of these keys controls how SHONiR CMS loads different types of files.
This URL is used for static libraries.
Examples include:
These files are stored in:
public/assets
Example CDN usage:
https://cdn.example.com/shonir-cms/public/assets/
This configuration controls all CSS files used by the website theme.
Locations include:
public/css/frontend/default.css
public/css/frontend/{theme_folder}/theme.css
Example CDN URL:
https://cdn.example.com/shonir-cms/public/css/
This URL loads JavaScript files related to the theme.
Files are located in:
public/js/frontend/default.js
public/js/frontend/{theme_folder}/theme.js
Example:
https://cdn.example.com/shonir-cms/public/js/
This configuration is used for all files uploaded from the admin panel.
Uploaded files are stored in:
public/uploads
Example:
https://cdn.example.com/shonir-cms/public/uploads/
This URL is used for website images.
It allows images to be served from a dedicated CDN optimized for image delivery.
This is the global CDN URL.
It can act as a fallback or general CDN for multiple file types across the system.
The official SHONiR CMS demo already uses multiple CDN services to optimize performance.
Images are served using ImageKit CDN.
Example:
https://ik.imagekit.io/stznbxt6o/shonir-cms/public/images/frontend/default/logo.webp
This provides:
CSS, JS, and other files are delivered through Gcore CDN.
Example:
https://8static.shonir.com/shonir-cms/public/js/frontend/default.js
This improves loading speed for:
SHONiR CMS works with almost any CDN provider.
Popular CDN services include:
You can configure different CDN services for different file types.
Using multiple CDN endpoints provides several benefits:
Files are served from the nearest CDN edge server.
Static resources are offloaded from the main hosting server.
Browsers can download resources from different domains simultaneously.
Visitors from different countries receive optimized delivery.
Your website can handle very large traffic volumes.
SHONiR CMS was built with performance-first architecture. By combining:
The system can run high-performance websites even on low-resource servers.
By distributing files across multiple CDN services, SHONiR CMS ensures:
The built-in multi-CDN configuration system in SHONiR CMS allows developers and website owners to easily optimize performance without complex server configurations.
By simply updating a few values inside the tbl_config table, you can distribute your static resources across multiple CDN providers and dramatically improve website speed.
This flexible architecture makes SHONiR CMS an excellent choice for building high-performance, scalable websites.
#SHONiRCMS #WebPerformance #CDN #WebDevelopment #SpeedOptimization #SEO #FullStack #TechTips #Cloudflare #CloudComputing #WebsiteSpeed #PHP
SHONiR CMS is a lightweight, developer‑friendly, open‑source platform built on CodeIgniter 4. It offers speed, flexibility, and customization without the bloat of WordPress, OpenCart, or other heavy CMS systems.
One of the most surprising aspects of SHONiR CMS is its ability to deliver lightning-fast web content even on average or low-end servers, including shared hosting environments. Developers and beginners alike are often amazed that SHONiR CMS can handle 100,000+ requests without breaking a sweat. The secret lies in how it leverages the power of CodeIgniter 4 and introduces a three-layer caching system — all without modifying any core framework files.
Discover how SHONiR CMS delivers ultra-fast performance using PHP 8 and MariaDB 10 on a single-core 1GB VPS server — handling 100K+ requests without slowing down.
© 2026 SHONiR CMS . All Rights Reserved.