Copied to clipboard

Flag this post as spam?

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


  • Thomas Won Nyheim 33 posts 145 karma points
    Feb 18, 2022 @ 09:29
    Thomas Won Nyheim
    0

    Slow loading of images, seems uncached

    Is there a way to verify that a crop is not regenerated for each load, and that it's actually loading the cached image?

    The code being used to fetch the crop is just a basic getcropurl, so I can't see what could be wrong with it.

    <div class="img-object" style="background-image: url(@(employee.Image != null ? employee.Image.GetCropUrl("Profilbilde Ansatte") : null)"></div>
    

    The images loaded on this specific page are unnaturally slow, both in comparison to other sub pages of that site and other sites on that server.

Please Sign in or register to post replies

Write your reply to:

Draft