Copied to clipboard

Flag this post as spam?

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


  • Filip Lundby 127 posts 148 karma points
    Dec 11, 2014 @ 14:08
    Filip Lundby
    0

    Are remote images cached server side?

    Are remote images cached server side?

    I know that a cached/scaled copy of the images is made, if the image is located on the same server - like:
    /imagegen.ashx?image=/foobar.jpg&height=120

    But what about remote images? Like:
    /imagegen.ashx?image=http://example.com/foobar.jpg&height=120

     

    Thanks!

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    May 20, 2015 @ 19:23
    Douglas Robar
    100

    Oh dear, this is a late reply, isn't it? So sorry about that! Hope it's still helpful.

    Remote images are requested from the remote site and then resized. ImageGen saves the resized image to the local server cache as normal, but the original image that resides on the remote server is not saved locally.

    Each request to a remote image will make a request to the remote site, which may be sluggish in some cases due to latency or bandwidth constraints between your webserver (with ImageGen on it) and the remote site (with the remote source image on it). When using remote image requests it is recommended to use ImageGen Professional's client side caching settings in the 'class' section of the imagegen.config file. That way only the initial request hits the remote server and afterward uses the cached image rather for the timeout duration.

    cheers,
    doug.

  • Filip Lundby 127 posts 148 karma points
    May 20, 2015 @ 20:17
    Filip Lundby
    0

    Thanks Douglas :) Better late than never ;)

Please Sign in or register to post replies

Write your reply to:

Draft