Copied to clipboard

Flag this post as spam?

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


  • Mehrdad 22 posts 71 karma points c-trib
    Aug 28, 2017 @ 02:37
    Mehrdad
    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 (skrypnyk.dev) 6064 posts 23316 karma points MVP 6x admin c-trib
    Aug 28, 2017 @ 10:29
    Alex Skrypnyk (skrypnyk.dev)
    0

    Hi Mehrdad

    Can you show all the code that is slow?

    PublishedContent uses cache, so it's faster definitely.

    Thanks,

    Alex

  • Mehrdad 22 posts 71 karma points c-trib
    Aug 28, 2017 @ 13:36
    Mehrdad
    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