SXA Razor Views are not precompiled can cause performance issues on the application startup


Description

If SXA Razor Views are not precompiled, they are compiled at runtime. Therefore the application startup might experience high response time, leading to increased resource consumption and making the site unreachable.

Solution

To resolve the issue, consider one of the following options: