I have a static UI (Content from S3
via CloudFront
), whose rendering is a hit & miss from different users/machines in chrome. The same UI (i.e. URL) renders properly in incognito mode for everyone/always as well as on any other browser that is not used as primary browser (example edge).
The cache setting is 0 for Minimum TTL
, Default TTL
, and Maximum TTL
. We also have a custom header for cache-control defined with value as no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0. This should force retrieval of content directly from S3 (without using cache at edge locations ?).
We were suspecting if content at edge location was being cached and so causing render issue but that does not seem to be case based on above mentioned cache settings and we have also tried cache invalidation from CloudFront without any success.
Inspecting network traffic in devtools kind of indicates we are not able to get to scripts for the site when it fails to render.
Rendering mechanism is also exact same between users (by means of an identical url).