Why Does the Requested Page Respond Slowly After My Website Is Connected to WAF?
Symptom
After a website is connected to WAF, the website becomes slow.
Possible Causes
You may have configured forcible redirection from HTTP to HTTPS at the backend of the server but enabled only forwarding from HTTPS (client protocol) to HTTP (origin server protocol) on WAF. This makes WAF redirects requests, which leads to an infinite loop.
Solution
To address this issue, add HTTP-to-HTTP and HTTPS-to-HTTPS forwarding rules. The procedure is as follows:
- Log in to the WAF console.
- In the navigation pane on the left, choose Website Settings.
- In the domain name list, click the target domain name.
- In the Origin Servers area, click Edit.
- In the Edit Server Information dialog box, add two forwarding rules, one for HTTP to HTTP and the other for HTTPS to HTTPS.
Figure 1 Example configuration
For details about how to configure a forwarding rule, see Why Was My Website Redirected So Many Times?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.