diff --git a/src/Orchard.Startup/Starter.cs b/src/Orchard.Startup/Starter.cs index 3c090bc3f..cb8b4b3bc 100644 --- a/src/Orchard.Startup/Starter.cs +++ b/src/Orchard.Startup/Starter.cs @@ -57,6 +57,12 @@ namespace Orchard.Startup { // Execute pending actions as the host is available WarmupHttpModule.Signal(); } + + // initialize shells to speed up the first dynamic query + if (_host != null) { + _host.BeginRequest(); + _host.EndRequest(); + } }); } }