LogoLogo
Developers
  • Welcome
  • Introduction
  • Getting Started
    • Overview
    • What can we do?
    • Features & Packages
    • SDKs
  • SERVICES
    • Introduction about services
    • Identity
      • Brand
        • Examples
        • How to identify a brand
        • What default values when a brand is created?
        • How to be a reseller
        • Multiple Brand Management
      • User *
        • User Type
        • Username
        • User Status
        • Username vs. Login Name
        • Password
          • User-defined options
          • Built-in policies
        • Authentication Methods
          • Traditional Login
          • External Login
          • Login with Email link
        • Referral (Invite Friends)
          • Example
        • Password Policy
        • Login with Google
      • Device
        • Type
        • Device Identifier (Device Code)
        • Device Registering
        • Access Limit
    • Subscription
      • What is Package?
      • Package (Pricing Plan)
      • Plans & Pricing *
        • Licensing *
        • Subscription Type *
        • Feature
          • Examples
        • Package
        • Price *
        • Coupon
        • License
          • License Status
          • License Delivery Type
          • License Source
        • Pseudo Flow *
          • Licensing Flow *
          • Pricing Flow *
          • Coupon Application Flow *
    • Billing
      • Payment
        • Payment Status
        • Commission
        • Instant Payment Notification (IPN) *
          • Payment Gateway
          • Supported Gateways
        • Payment Transaction Overview
      • Transaction *
      • Invoice *
    • Wallet
      • Wallet *
        • Secure Practices *
        • ✔️Pseudo Flow *
      • Redeem *
    • Security
      • Black List
      • Risk Levels
    • Community
      • Issue
        • Examples
        • Pseudo Flow
      • Organization
    • Content Delivery Network (CDN)
      • CDN
        • CDN Storage
        • Uploading files to a CDN
        • Downloading files from a CDN
        • Are There Any Limitations?
        • Best Practices
    • Analytics
      • Tracking
        • Tracking Activity
        • Tracking Email
        • Tracking Notification
      • Log & Debug
      • Notification
    • Integration
      • Authentication
      • Payment Gateways
      • Push Notification
      • SMS Provider
      • SMTP Provider
      • Gitbook
    • Brand Settings (Branding)
      • What are Permissions and Roles?
        • System permissions & brand-based permissions
          • A (6 resources)
          • B (7 resources)
          • C (4 resources)
          • D (3 resources)
          • E (2 resources)
          • F (1 resource)
          • I (3 resources)
          • L (1 resource)
          • O (1 organization)
          • P (4 resources)
          • R (1 resource)
          • S (2 resources)
          • T (4 resources)
          • U (7 resources)
          • W (1 resource)
        • System Roles & Brand-based Roles
        • Granting Permissions
        • Assigning Roles
        • Best Practices
        • Pseudo Flow
        • Conclusion
      • What is Issue Category
      • What is Feature?
      • What is Subscription Type?
      • What is Subscription?
      • What is Commission Rate?
      • Events & Patterns
        • Event
          • Events for Community (Organization) (4)
          • Events for Device (3)
          • Events for License (2)
          • Events for Payment (8)
          • Events for System (9)
          • Events for Ticket (Issue) (6)
          • Events for User (47)
            • User.Account_ (5)
            • User.Coupon_ (1)
            • User.Email_ (5)
            • User.Expiration_ (3)
            • User.Inactive_ (2)
            • User.Invoice_ (1)
            • User.License_ (1)
            • User.Logged_ (3)
            • User.Password_ (3)
            • User.Phone_ (2)
            • User.Profile_ (2)
            • User.Receipt_ (1)
            • User.Referee_ (1)
            • User.Registered (2)
            • User.Reward_ (3)
            • User.Service_ (1)
            • User.SMS_ (1)
            • User.Status_ (5)
            • User.Suspicious_ (4)
            • User.Ticket_ (1)
          • Events for Wallet (4)
          • (Missing Events) *
        • WalletEarningEvent
          • Earning.User_ (8)
          • Earning.Wallet_ (2)
        • Email Templates *
        • SMS Templates *
      • Tags
      • Domains
      • Email templates
    • System Constants (Read-only)
      • Country
      • State
      • City
      • Time Zone
      • Currency
      • Language
      • Exchange Rate
  • Other concepts
    • Built-in resource
      • Built-in roles
        • Best practice
      • Built-in permissions
    • JFW Status
    • Default data
    • System data
    • Soft deletion data
    • Cryptography
    • Mailing
      • Examples
      • Email Sender
      • Email Template
    • Scheduler
      • Examples
      • Schedulers Used In JFW
    • Tracking Level
  • Versioning
  • Workflows
  • References
    • Internal references
    • External references
      • MailKit
      • MIME Type
  • Changelog
Powered by GitBook
LogoLogo

For developers

  • Developers

For users

  • Admin & cPanel

Examples

  • BoostPTE

Copyright @2018-2025

On this page
  • Definition
  • Folder Structure
  • Example Folder Structure

Was this helpful?

  1. SERVICES
  2. Content Delivery Network (CDN)
  3. CDN

CDN Storage

Last updated 1 year ago

Was this helpful?

Definition

CDN Storage refers to the space on the distributed servers of a Content Delivery Network where your files are stored and cached. This space is optimized to deliver content to users with low latency and high transfer speeds, regardless of their geographical location. The storage architecture of a CDN is designed for scalability, security, and efficiency, ensuring that content is readily available for quick distribution to end-users.

Folder Structure

CDN storage typically supports a hierarchical folder structure to organize files and directories efficiently. This structure allows you to group related files together, making it easier to manage and maintain your content. The folder structure can be customized based on your requirements, enabling you to create a logical organization of files for better access and retrieval.

In JFW, the CDN storage follows a specific folder structure to store files based on brand, application, user, and other groups. This structure helps in categorizing files according to their purpose and origin, making it easier to locate and manage them effectively.

MIME types are used to identify the nature and format of files stored on a CDN. We use the first part of the MIME type to categorize files into different groups, such as image, video, audio, text, and application. This categorization helps in organizing files based on their content type and ensures that they are served correctly to end-users. For more information on MIME types, refer to the section.

Example Folder Structure

FileStorage
│
├── Brand (e.g., jfw, brand1, brand2)
│   ├── Application
│   │   ├── Assets
│   │   │   ├── [MIME Type]
│   │   ├── [Other Group Name]
│   │   │   ├── [MIME Type]
│   ├── User
│   │   ├── [Group Name] (e.g., profile, document, media)
│   │   │   ├── [Year]
│   │   │   │   ├── [Month]
│   │   │   │   │   ├── [Day]
│   │   │   │   │   │   ├── [MIME Type]

Example:

cdn-base-folder/
│
├── jfw/
│   ├── app/
│   │   ├── assets/
│   │   │   ├── image/
│   │   │   │   ├── logo.png
│   │   │   │   ├── banner.jpg
│   │   │   ├── video/
│   │   │   │   ├── intro.mp4
│   │   │   │   ├── tutorial.mp4
│   │   │   ├── audio/
│   │   │   │   ├── bgm.mp3
│   │   │   │   ├── sound.mp3
│   │   │   ├── text/
│   │   │   │   ├── notes.txt
│   │   │   │   ├── instructions.txt
│   │   │   ├── application/
│   │   │   │   ├── how-to-use.pdf
│   │   │   │   ├── user-guide.pdf
│   ├── user/
│   │   ├── profile/
│   │   │   ├── 2021/
│   │   │   │   ├── 01/
│   │   │   │   │   ├── 01/
│   │   │   │   │   │   ├── avatar.png
│   │   │   │   │   │   ├── cover.jpg
MIME Type