• 请不要在回答技术问题时复制粘贴 AI 生成的内容
drsanwujiang
V2EX  ›  程序员

通配符域名的 CDN 会缓存哪个域名

  •  
  •   drsanwujiang · Apr 17, 2020 · 2327 views
    This topic created in 2401 days ago, the information mentioned may be changed or developed.
    套路云上创建了一个通配符域名的 CDN *.example.com ,源站是反代。
    那么我访问 a.example.com/test.js 和 b.example.com/test.js ,两个文件会分别缓存还是?
    2 replies  •  2020-04-17 15:19:56 +08:00
    lmaq
    lmaq
    Apr 17, 2020
    1
    分别缓存
    julyclyde
    julyclyde
    Apr 17, 2020
    2
    你也可以 *要求* CDN 服务商给你做成同一个
    一般用 rewrite 来实现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   956 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:31 · PVG 06:31 · LAX 14:31 · JFK 17:31
    ♥ Do have faith in what you're doing.