Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have an umbraco 7.6 site, really standard construction using Master template as a layout eg.
Layout = "Master.cshtml";
The above is my home page.
When I'm debugging I noticed the Master page is hit 3 times while Home template is hit only once.
That's quite strange isn't it?
Why the page is calling the Master template 3 times? Even though it's very fast I think it's 2x too much and would speed up the loading if it's avoided. Cos in the above case Master is called 3 times so any partials within Master are also called 3x eg. footer nav, header etc.
Why is it doing so and how can I load it only once?
Did you experience similar issue?
The master page is calling only one time, it can be more if the page loads more times.
Yeah but my home template loads only once and it calls Master only once as you can see in the code so why Master loads 3 times?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted