rondeezie - Hey team, I recently updated "CORS ...
# dev-help
r
Hey team, I recently updated "CORS whitelisted domains" for one of my orgs to add a new domain. However, the new value isn't being respected almost 24 hrs later. Other domains on the whitelist are working though. Is there some trick to purge the cache on this list so that it applies more quickly? I did have something similar happen in one of my orgs that took almost a week before it resolved itself. I do have a support ticket open but curious if there's a known workaround. Thanks!
s
Browsers cache CORS preflight (OPTIONS) responses based on the Access-Control-Max-Age header. Looking at the nginx CORS config, this could cause responses to be cached in the browser for an extended period. Try: -- Hard refresh (Cmd+Shift+R / Ctrl+Shift+R) -- Clear browser cache completely -- Test in incognito/private mode