문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top