tencent cloud

Feedback

Controlling Origin-pull Requests

Last updated: 2024-08-26 10:54:37

    Overview

    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.

    Directions

    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 and click Site List in the left sidebar.In the site list, click the target Site.
    2. On the site details page, click Site Acceleration to enter the global site configuration page, then click the Rule Engine tab.
    3. On the rule engine management page, click Create rule and select Add blank rule.
    4. On the rule edit page, select the matching type as HOST equals www.example.com.
    5. Click on the action, and in the pop-up operation list, select the operation as origin-pull request parameter settings.
    6. Select the mode as retaining specified parameters, Enter the parameters key1 and key2 to be retained, up to 10 parameters are allowed.
    
    7. 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