Domanda

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.

  • 1st request: myphoto.jpp 100x200
  • 2nd request: myphoto.jpg 200x400

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top