- Check whether the snippet is updated with published changes
Every time you make a change to an experiment that gets saved to the snippet, the snippet revision number automatically increments. If you need to QA because something you changed isn't showing on the page, you can use your browser's developer console to check whether the latest snippet has been updated to the content delivery network (CDN) yet.
Here's how to check your browser's developer console to learn whether the CDN is updated with the latest snippet revision:
-
Open the developer console.
-
Filter for messages labeled
verifier
.
While the CDN is updating, the verifier will log messages that look like this:[VERIFIER] Verifying CDN revision for projectId (attempt [#]): [#1] < [#2]
[#1]
is the CDN's current snippet revision number[#2]
is the latest snippet revision number (the one you are waiting for)
You'll also see a message like this: [VERIFIER] CDN up to date for projectId ... at revision [#]
[#]
is the CDN's current snippet revision number.
In the example below, the CDN hasn't been updated yet. The current snippet revision number is 246, and the revision number we're waiting for is 247:
When the CDN is up-to-date with the latest snippet, the revision number in this message:
[VERIFIER] CDN up to date for projectId ... at revision [#]
...should match the revision number you're waiting for (the latest snippet revision number).