Copied to clipboard

Flag this post as spam?

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


  • Levente Kosa 136 posts 352 karma points
    Aug 30, 2015 @ 12:29
    Levente Kosa
    0

    Image Cropper makes the page slow

    Hi,

    On my page there are a log of images (appr. 100-120), and I'm using the Image cropper.

    <img width="303" src="@Umbraco.TypedMedia((int)categoryImage.Id).GetCropUrl(303, 404)&quality=75" alt="" />
    

    According to google pagespeed and gmetrix the biggest problem is: "Remove query strings from static resources".

    Any suggestions?

    Thanks, Levente

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Aug 30, 2015 @ 19:10
    Jeavon Leopold
    0

    Hello,

    It's not possible with ImageProcessor and it's questionable as to if this is really a worthwhile endeavour anyhow.

    Have a read of this thread on StackOverfow discussing the recommendation

    Jeavon

  • James Jackson-South 489 posts 1747 karma points c-trib
    Aug 31, 2015 @ 08:03
    James Jackson-South
    0

    Do you have any quantifiable evidence that the page is slowed by using the cropper? Any request processed by ImageProcessor is cached in the browser and the server.

  • Levente Kosa 136 posts 352 karma points
    Aug 31, 2015 @ 21:17
    Levente Kosa
    0

    Hi,

    No, I don't have evidence that the cropper is the problem. Just the tools said the url is the problem. It's slow, but can be other problem.

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Sep 01, 2015 @ 08:27
    Jeavon Leopold
    0

    I was trying to find the recommendation in Google PageSpeed Insights but I think they have removed it now (it certainly used to be there when PageSpeed was a Chrome plugin)...

    It used to be that some caching proxy servers did not cache static resources with querystrings, so not really related to speed.

Please Sign in or register to post replies

Write your reply to:

Draft