tencent cloud


Controlling Origin-pull Requests

Last updated: 2023-08-30 15:09:23


    By default, when origin-pulling, all query strings and Cookies within the request will be retained. If your business origin only allows specified query strings or Cookie information to be carried in the origin-pull request, you can ensure the normal origin-pull request by deleting the specified origin-pull request parameters.


    For example, Client requests Request URL: http://www.example.com/path/demo.jpg?key1=a&key2=b&key3=c&key4=d, and only key1=a parameter needs to be retained when origin-pulling. You can follow the steps below to configure:
    1. Log in to the EdgeOne console, click on the site list in the left menu bar, and click on the site to be configured within the site list.
    2. On the site details page, click on the rule engine.
    3. On the rule engine Management page, click Create rule to enter the edit page of the new rule.
    3.1. On the rule edit page, select the matching type as HOST equals www.example.com.
    3.2. Click on the action, and in the pop-up operation list, select the operation as origin-pull request parameter settings.
    3.3. Select the mode as retaining specified parameters, Enter the parameters key1 and key2 to be retained, up to 10 parameters are allowed.
    4. Click Save and Publish to complete the rule Configuration.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support