I have been trying to find a way to lazy load my umbraco grid items. The following solution seemed promising, but ended up only helping with slow controllers:
At the moment, when the cache has been refreshed, my pages that contain grids take 25 seconds to load, then 2 seconds after that. So, I would like to show the page before loading the grid, instead of having a blank screen for 25 seconds then showing everything at once.
Is there a way I can load the basic page, then show a loading message on the div that contains my @Html.GetGridHtml() until the grid has been rendered?
lazy loading grid editor items
Hi all,
I have been trying to find a way to lazy load my umbraco grid items. The following solution seemed promising, but ended up only helping with slow controllers:
https://our.umbraco.com/forum/using-umbraco-and-getting-started/78400-load-partial-view-by-ajax
At the moment, when the cache has been refreshed, my pages that contain grids take 25 seconds to load, then 2 seconds after that. So, I would like to show the page before loading the grid, instead of having a blank screen for 25 seconds then showing everything at once.
Is there a way I can load the basic page, then show a loading message on the div that contains my @Html.GetGridHtml() until the grid has been rendered?
Thanks,
Jack.
is working on a reply...