While running ServiceStack, dotnet core, on a Raspberry Pi, i noticed that first load of my razor view pages is slow.
Once loaded, it goes like a rocket.
I don’t have any specific settings for precompilation, what-so-ever.
Is this solved by setting some options for pre-compilation of razor views, and what would be the recommended setup?
A dirty fix would be the application having to call its-self once during boot, so it’s loaded. (i know…)
What’s best ?