Apple App Site Association (AASA) file is not being updated on app-site-association.cdn-apple.com

My app has three separate environments named

  1. int
  2. sbx
  3. prod

Here are my three AASA files on my webservers.

Here are the same three AASA files on Apple's CDN

I have two questions.

  1. How can I invalidate the Apple CDN so that my new AASA files are pulled in?
  2. Do my new AASA files look like they will support all possible paths? Does * capture any path e.g., /collection/123, /wallet/oauth?code=123, /sign-in

I've done the generic Googling and docs reading around this. I can't seem to find anything specifically related to Apple's CDN.

6

1 Answer

Updating my AASA file's Cache-Control header to no-cache fixed this for me.

I use Next.js, so here is my next.config.js that fixed this for me.

 { source: "/.well-known/apple-app-site-association", headers: [ { key: "Content-Type", value: "application/json" }, { key: "Cache-Control", value: "no-cache" }, ], },

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like