Investigate occasional missing frontend assets after deploys

GitLab team members have noticed that occasionally, after the Docs site deploys to GitLab Pages, it's missing frontend assets, or it's throwing JavaScript errors due to some files being new and some being from the last deploy.

To a visitor, this looks like missing search forms, missing global nav, missing tabs on the homepage, missing table of contents, a missing a Versions menu, or missing styles/fonts.

After a few minutes, something syncs back up, and the site looks fine. It doesn't happen after every deploy, and the length of how long it takes to resolve has varied (longest I've seen was ~12 minutes on 4/30).

This doesn't seem like a bug with the website itself, but rather something caused by cache behavior in Pages.

Issue reports via Slack (internal only)

Edited by Sarah German