Copied to clipboard

Flag this post as spam?

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


  • Mahgo 32 posts 152 karma points
    Jan 14, 2017 @ 08:08
    Mahgo
    0

    First time loading page of content type after Umbraco start takes 5x longer

    I'm using Umbraco 7.5.6. After starting Umbraco, and each time visiting a page of a content type that hasn't been accessed since that startup takes around 5 times longer. For example, 7000ms instead of 1300. I've gotten these times using Miniprofiler.

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Jan 14, 2017 @ 10:25
    Alex Skrypnyk
    0

    Hi Mahgo,

    Can you share code of template this content type?

    It will be nice to see more info about his problem.

    Thanks,

    Alex

  • Mahgo 32 posts 152 karma points
    Jan 14, 2017 @ 10:43
    Mahgo
    0

    Hi Alex,

    It's happening with all document types, maybe it is doing caching after the first time of each? Do you think there's a way to make this happen on startup?

  • Mahgo 32 posts 152 karma points
    Feb 23, 2017 @ 09:19
    Mahgo
    0

    I've also tried with a page with a completely empty template, and it takes 2 seconds to load the first time after building, then 10 - 15ms every time after that

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Feb 23, 2017 @ 11:50
    Alex Skrypnyk
    0

    Hi Mahgo

    Try to disable "XmlContentCheckForDiskChanges" key in Umbraco settings. Read about settings here - https://our.umbraco.org/documentation/reference/config/umbracosettings/

    Do you have a huge website?

    Is it using xml cache?

    Thanks

    Alex

  • Mahgo 32 posts 152 karma points
    Feb 24, 2017 @ 09:12
    Mahgo
    0

    Hi Alex,

    That doesn't seem to make any difference. EDIT: looks like it was already disabled by default

    Yeah it is a pretty big website. How do I check if it is using an xml cache?

    Also, to give you a bit more information, I run the site and let the homepage fully load up, before loading that page, to ensure that the site has fully loaded up.

  • Mahgo 32 posts 152 karma points
    Feb 24, 2017 @ 10:25
    Mahgo
    0

    Yeah it looks like it is using the XML cache. I don't have XmlCacheEnabled specified in my umbracoSettings but the default value is true.

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Feb 24, 2017 @ 10:32
    Alex Skrypnyk
    0

    Hi Mahgo

    What if you try to change this setting?

  • Mahgo 32 posts 152 karma points
    Feb 24, 2017 @ 10:37
    Mahgo
    0

    Setting XmlCacheEnabled to true didn't really affect it.

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Feb 24, 2017 @ 10:38
    Alex Skrypnyk
    0

    what about false?

  • Mahgo 32 posts 152 karma points
    Feb 24, 2017 @ 10:39
    Mahgo
    0

    Woops sorry, I meant to say false.

  • Mahgo 32 posts 152 karma points
    Feb 25, 2017 @ 08:03
    Mahgo
    0

    Any more ideas?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies