0

Currently deploying CDN using vm instances + HTTPS LB, all right was set, im checking if works correclty, when make some test to CDN Url's from browser or cURL appear content was cached, but when another user request same URL from different location but using same edge cache it doesnt found and create another new, someone having same problem ?:

sample:

URL: https://www.sample.com/url.htm

  • User1/Location1(Dallas) ------------------------> DAL (not found first time and for second or third try, generate CachedID DAL-XXXXXX1)

after that User1 create cache another user2 request same URL but from diferrent location but using same edge cache URL: https://www.sample.com/url.htm

  • User2/Location2(McAllen) ------------------------> DAL (not found generate Cached ID DAL-XXXXXX2)

Why if edge pop already have cached this URL is not serving and generate new cache fills for same URL?

Note:im not using query on any URL.

4

1 回答 1

0

在您的示例中,DAL-XXXXXX1 和 DAL-XXXXXX2 是单独的缓存。Google Cloud CDN 在许多大都市地区运行多个缓存,内容不会自动从一个缓存复制到另一个缓存。在 DAL-XXXXXX2 提供的第一个响应中,您不会看到来自 DAL-XXXXXX2 缓存的缓存命中。

在cloud.google.com/cdn/docs/overview#inserting-into-cachecloud.google.com/cdn/docs/logging#what_is_logged中有更多信息。

于 2020-10-15T18:55:20.787 回答