Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nick Babaki 22 posts 71 karma points c-trib
    Aug 28, 2017 @ 02:37
    Nick Babaki
    0

    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.

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Aug 28, 2017 @ 10:29
    Alex Skrypnyk
    0

    Hi Mehrdad

    Can you show all the code that is slow?

    PublishedContent uses cache, so it's faster definitely.

    Thanks,

    Alex

  • Nick Babaki 22 posts 71 karma points c-trib
    Aug 28, 2017 @ 13:36
    Nick Babaki
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft