Image is loaded again if width is different in transformation?


1 comment

  • Avatar
    Shirly Manor

    In the use-case that you provided, we will do two network requests. In order to avoid it, you can get the larger image e.g, w_750 and use one of the caching libraries. For example

    The advances of choosing to get the larger image is that you will call the server only once and after the first time all the derived images will load faster.

    Please note that when getting a large file it will take more time and if most of your users are using only smaller images that might cost unnecessary bandwidth use. 

    If you want, you're more than welcomed to open a ticket and we'll be happy to suggest specific tips for you regarding optimizing your images while saving bandwidth.



    Comment actions Permalink

Please sign in to leave a comment.