By admin • September 11, 2024
While using Sitecore Managed Cloud with Azure Front Door, we randomly encountered a browser error: "The request is blocked." We had no idea why this was happening.
I worked with our DevOps team since we are using Azure Front Door for traffic management, where a rule was set to block requests that exceed a specified value. So, when a user refreshed a webpage 5-6 times, they received the above message. Sometimes , they did not receive the message but receive a blocked js or css files, or even images and the page looks broken.
We dealt with this problem for a few days and could not find an easy solution. Finally, we decided to exclude CSS, JS, and image files from the rule.
Our Solution: Creating a Rule to Exclude Static Assets
This solves all the issues we had!