Copied to clipboard

Flag this post as spam?

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


  • Timo Tielens 2 posts 22 karma points
    Nov 03, 2022 @ 15:18
    Timo Tielens
    0

    Umbraco V 10 - Images slow at first load

    It seems that Umbraco 10 is very slow in rendering new images formats/sizes.

    If I call https:/DOMAIN/media/diyjbkro/2387873.jpg?rxy=0.3145363405213034,0.7763157894736842&width=1920&height=859&format=webp&quality=60&rnd=133119559710500000 Umbraco will serve me the image in 7.91S (174kb) the second time that I call the image it takes 59MS. As you can see does it cost quite some time to render the jpg image to webp version in. Once it's rendered it's pretty fast.

    Almost 8 sec is way to much for us and not acceptable. Is this a bug or does anyone have a tip for me?

    System info:

    • Server OS Microsoft Windows 10.0.14393
    • Server Framework .NET 6.0.9
    • Umbraco Version 10.3.1
  • Matthew Care 12 posts 145 karma points c-trib
    Nov 03, 2022 @ 16:36
    Matthew Care
    0

    Hello,

    What is the original size of the image? Also, I'm not sure why but in my experience adding a quality parameter to a webp format can often increase the file size which is returned from the server. I have removed the quality portion from all of my webp format conversions.

  • Timo Tielens 2 posts 22 karma points
    Nov 04, 2022 @ 08:08
    Timo Tielens
    0

    The media information is:

    • Width in pixels 5472
    • Height in pixels 3648
    • Size in bytes 3866456
    • Type jpg

    Sure 3.8 MB is maybe a bit bigger but nothing that fancy, but as an test I also used a image of 1.2 MB. This takes 5.9S (so still to long).

    • Width in pixels 2000
    • Height in pixels 1667
    • Size in bytes 1297880
    • Type jpg

    First call: 5.9S Second call: 77ms

    Regarding the quality I changed this, and did not see anything worthing mentioning in the speed :(

Please Sign in or register to post replies

Write your reply to:

Draft