I have a website and regularly update content and save them. The problem is if I update root(Home) and Save it without publishing, GetById is too slow and sometimes cannot even load the data. But as soon as I publish my change, the GetById gets back to normal and is fast.
Actually, it does not happen on front-end. It just happens on my backoffice.
So when I save something without publishing, if then click on the home node(root) on the content tab, it takes too long to show me the content.
GetById is too slow when saving new data
I have a website and regularly update content and save them. The problem is if I update root(Home) and Save it without publishing, GetById is too slow and sometimes cannot even load the data. But as soon as I publish my change, the GetById gets back to normal and is fast.
Hi Mehrdad
Can you show all the code that is slow?
PublishedContent uses cache, so it's faster definitely.
Thanks,
Alex
Hi Alex,
Thanks for the reply,
Actually, it does not happen on front-end. It just happens on my backoffice. So when I save something without publishing, if then click on the home node(root) on the content tab, it takes too long to show me the content.
is working on a reply...