Introduction

When a URL request carrying? and request parameters are sent to a CDN node, the CDN node determines whether to send the request to the origin site.
  • If you enable Filter Parameter function: after the request arrives at the CDN node, the URL without parameters is intercepted and requested against the origin site. Additionally, the CDN node retains only one copy.
    • An HTTP request typically contains the requisite parameters. If the content of a parameter has a low priority and the parameter overview file can be ignored, it recommended to enable the Filter Parameter function. This improves the file cache hit rate and the delivery efficiency.
    • If a parameter has important indicators (for example, if it contains file version information), we recommend that you disable this function.
  • If you disable Filter Parameter function, different copies are cached on the CDN node for different URLs.

Applicable business type: All.

Example

The http://www.abc.com/a.jpg?x=1 URL request is sent to a CDN node.
  • If the Filter Parameter function is enabled, the CDN node initiates to the origin site the http://www.abc.com/a.jpgrequest (ignore parameter x = 1). After the origin site returns a response, the CDN node retains a copy. Then, the origin site continues to respond to the terminal http://www.abc.com/a.jpg. For all requests similar to http://www.abc.com/a.jpg?parameters, the origin site responds to the CDN copy http://www.abc.com/a.jpg.
  • If the Filter Parameter function is disabled, http://www.abc.com/a.jpg?x=1 and http://www.abc.com/a.jpg?x=2 respond to the response content of different parameter origin site.
Note
URL authentication has a higher priority than the Filter Parameter function. Because type A authentication information is contained in the parameter section of an HTTP request, the system first performs the authentication and then caches a copy on the CDN node after the authentication succeeds.

Procedure

  1. Go to Domain Namespage, select the domain name, then click Manage.
  2. Enable the function in Performance Optimization > Filter Parameter.