All pages
Powered by GitBook
1 of 1

Loading...

Page Rules

Define caching, redirection, and optimization behaviors for specific URLs to control how Medianova CDN delivers your content.

Page Rules for Dynamic Content Acceleration operate the same way as in Static Content Delivery. They allow you to apply rule-based caching and optimization logic for specific URL paths and file extensions. This enables fine-grained control over performance behavior for dynamic applications, APIs and mixed static–dynamic workloads.

Use Page Rules when you need to override the default caching logic, apply custom TTLs, control headers, or modify delivery behavior for selected routes.

For full configuration steps and available rule types, refer to the main Page Rules documentation:

Learn more: Page Rules Documentation

Dynamic Page Cache Behavior

Dynamic Content Acceleration accounts include an additional setting under Page Rules: Dynamic Page Cache.

This setting controls whether HTML, JSON and other dynamic text-based responses can be cached using the TTL defined in a Page Rule.

How Dynamic Page Cache Works

Dynamic Page Cache
Behavior

When to Enable Dynamic Page Cache

Enable this option if your application can safely serve cached HTML/JSON responses for the specified duration — for example:

  • Landing pages with infrequent updates

  • API responses that are cache-friendly

  • Server-rendered pages that do not change per user

Leave it disabled for:

  • Personalized pages

  • User-specific HTML

  • Sensitive JSON or rapidly changing dynamic data

Supported Rule Components

Dynamic Content Acceleration supports the same rule components as Static Content Delivery:

  • File Path Match (directory, wildcard, regex)

  • File Extensions

  • Cache Type and TTL

  • Header settings

All rule logic is evaluated in the same manner as Static Content Delivery.

Example Use Case

Scenario: A customer wants to cache HTML responses under /blog/ for 30 seconds but does not want to cache dashboard or personalized pages.

Configuration:

  • File Path: /blog/

  • File Extension: html

  • Cache Type: Edge

  • Edge Cache Time: 30s

Result: HTML pages under /blog/ are cached for 30 seconds. Other dynamic pages remain uncached.

Notes

  • Page Rules override the global Caching tab for matching requests.

  • Dynamic Page Cache applies only if the rule includes a TTL.

  • When disabled, dynamic responses always result in an origin fetch.

  • Behavior is identical across Small, Large and Dynamic Resources, except the Dynamic Page Cache setting, which is exclusive to Dynamic Content Acceleration.

Redirect and security settings

  • Dynamic Page Cache: On

  • Off (false)

    The Page Rule TTL applies only to static file types (e.g., images, CSS, JS). Dynamic content such as HTML and JSON is never cached, even if a TTL is configured.

    On (true)

    The CDN caches HTML, JSON and similar dynamic responses for the TTL defined in the Page Rule. Static files continue to be cached as usual.

    Dynamic Page Cache setting visible only for Dynamic Content Acceleration