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. Static Content Delivery
  4. Advanced Configuration
  5. Caching

Browser Cache Rule

The Browser Cache Rule feature in the Medianova Cloud Panel allows you to configure caching behavior for different types of resources. By setting up specific rules for browser caching, you can optimize content delivery, reduce load times, and ensure the most efficient use of cache for various resource types.

Key Features

  • Flexible Cache Type Options You can create caching rules based on different criteria, ensuring the correct content is cached efficiently:

    • All Files: This rule applies to all files, regardless of their type or location.

    • Full Path: Apply the caching rule to files based on their exact full URL path.

    • Directory: Apply the caching rule to all files within a specific directory.

    • File Extension: Apply the caching rule based on the type of file (e.g., images, JavaScript, CSS) by specifying file extensions like .jpg, .js, .css, etc.

  • Cache Priority Set the priority for each cache rule to determine which resources are cached first. Prioritize critical resources (e.g., images, JavaScript) over less important ones.

  • Cache Mode Options Define how each resource should be cached by the browser:

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

    • No Cache: The resource will not be cached at all, and will always be fetched from the origin server.

    • Cache: The resource is cached in the browser for the specified duration, improving performance for subsequent requests.

  • Apply the HTML/JSON Files You can apply the cache rule specifically to HTML and JSON files by enabling or disabling this setting:

    • On: The caching rule will be applied to HTML and JSON files.

    • Off: The caching rule will not apply to HTML and JSON files.

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?