wallismark
wallismark

Reputation: 1856

ImageResizer resized images and CDN

If a request is made to a CDN for a resized image, am I right in assuming that a second request for the same image but for a different size will NOT return the cached image?

E.g.

The above will result in two hits to my ImageResizer server won't it? This is my assumption, I just want to be sure.

I guess another way to ask the question is, does the CDN consider the entire url or just the image being requested?

Any guidance is greatly appreciated.

Upvotes: 0

Views: 661

Answers (1)

astroanu
astroanu

Reputation: 3971

Different sizes will not return the cached image. A new image is requested from the resize server if the same sized images does not exist in the cache.

Upvotes: 1

Related Questions