Im wondering if there is caching on menus.
when looking on the debug info below i am curious as to why it makes database calls everytime. is it possible to cache this so it wont use that time?
14:47:41.709 | CreateDataReader - took: 0 ms. USE [Pilgrim.dk] DECLARE @p0 INT = 1 SELECT [Page].* FROM [Page] WHERE ( [Page].[PageParentPageID] = 0 ) AND ( [Page].[PageAreaID] = @p0 ) ORDER BY [Page].[PageSort] |
5 ms |
94 ms |
14:47:41.748 | After provider (Dynamicweb.Ecommerce.Frontend.NavigationProviders.GroupNavigationProvider) |
39 ms |
133 ms |
14:47:41.780 | CreateDataReader - took: 0 ms. USE [Pilgrim.dk] DECLARE @p0 INT = 1 SELECT [Page].* FROM [Page] WHERE ( [Page].[PageParentPageID] = 0 ) AND ( [Page].[PageAreaID] = @p0 ) ORDER BY [Page].[PageSort] |
32 ms |
165 ms |
14:47:41.794 | After Run (E:\Solutions\Pilgrim.net\Files\Templates\Designs\Pilgrim\_parsed\Index.parsed.cshtml) |
14 ms |
179 ms |