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
  • Key Features
  • How to Configure Browser Cache Rule

Was this helpful?

Export as PDF
  1. Products
  2. Performance / CDN
  3. Dynamic Content Acceleration
  4. Advanced Configuration
  5. Caching

Browser Cache Rule

The Browser Cache Rule feature in the Medianova Cloud Panel for dynamic content allows you to define caching behavior for dynamically generated resources. This feature helps optimize content delivery for dynamic content, reduce load times, and ensure that content is always up-to-date or efficiently cached for better performance.

Key Features

  • Flexible Cache Type Options:

    • All Files: This rule applies to all dynamic files, regardless of their type or location. It can be useful when you want to apply caching behavior globally to all dynamic resources.

    • Full Path: Apply the caching rule based on the exact full URL path of the dynamic content. This allows for fine-tuned control over specific dynamic URLs.

    • Directory: Apply the caching rule to all dynamic content within a specific directory. This is useful when dynamic content is organized by folder.

    • File Extension: Apply caching rules based on the file extension (e.g., .json, .html, .php). This is particularly useful when dynamic content is served as JSON, HTML, or other formats.

  • Cache Priority: Set priorities for dynamic resources to control which resources are cached first. For example, prioritize critical dynamic content (e.g., personalized data, user-specific content) over less important content to improve user experience.

  • Cache Mode Options:

    • Origin: Dynamic resources are fetched and cached directly from the origin server, ensuring that content is always up-to-date.

    • No Cache: The dynamic resource will not be cached in the browser and will always be fetched from the origin server. This ensures that the latest dynamic content is always served, but can increase load times.

    • Cache: The dynamic resource is cached in the browser for the specified duration. This improves performance for subsequent requests but ensures that content is refreshed after the cache expiration time.

  • Apply to HTML/JSON Files:

    • On: The caching rule will apply to HTML and JSON files that contain dynamic content, allowing you to fine-tune caching behavior for these specific resource types.

    • Off: The caching rule will not apply to HTML and JSON files, ensuring they are always fetched fresh from the origin server.

By configuring Browser Cache Rules for dynamic content, you can optimize content delivery for both performance and freshness, ensuring that dynamic resources are efficiently cached or fetched in a way that best meets your application's needs.

How to Configure Browser Cache Rule

  1. Click on the CDN Resources section in the left-hand menu of the Cloud panel.

  2. Select the relevant resource.

  3. Click on the Caching tab.

  4. Navigate to the Browser Cache Rule section in the Medianova Cloud Panel.

  1. Click on the Add button to create a new cache rule.

    • Configure Cache Rule Settings:

      • Type: Choose the type of cache rule you want to apply:

        • All Files: Applies to all files.

        • Full Path: Applies to files based on their exact URL path.

        • Directory: Applies to all files within a directory.

        • File Extension: Applies based on file extensions like .js, .css, .jpg, etc.

      • Priority: Set the priority (e.g., High, Medium, Low) for this cache rule to manage which files are cached first.

      • Cache Mode: Select the cache mode:

        • Origin: The resource is cached from the origin server.

        • No Cache: The resource is not cached.

        • Cache: The resource is cached in the browser for a set duration.

      • Apply the HTML/JSON Files:

        • On: Enable this option to apply the rule to HTML and JSON files.

        • Off: Disable this option to exclude HTML and JSON files from this cache rule.

  2. Once you've configured the browser cache rule, click Submit to apply the changes.

By configuring the Browser Cache Rule, you can control how different file types are cached, ensuring that critical resources are loaded faster and less important resources are handled according to your specifications. The option to apply or not apply to HTML/JSON files provides further flexibility in caching strategies.

PreviousEdge Cache ExpirationNextQuery String Caching

Last updated 4 months ago

Was this helpful?