You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the experiment toggles are "cached" using a global variable defined at the file level: https://github.com/ampproject/amphtml/blob/master/src/experiments.js#L44. This means that for experiments using a simple traffic fraction, toggles determined in amp.js would not be correlated with an experiment toggle determined in amp-ad.js (for example).
The toggles should be cached on a window property so that they are synchronized across all .js files on a given pageview.
The text was updated successfully, but these errors were encountered:
Currently the experiment toggles are "cached" using a global variable defined at the file level: https://github.com/ampproject/amphtml/blob/master/src/experiments.js#L44. This means that for experiments using a simple traffic fraction, toggles determined in amp.js would not be correlated with an experiment toggle determined in amp-ad.js (for example).
The toggles should be cached on a window property so that they are synchronized across all .js files on a given pageview.
The text was updated successfully, but these errors were encountered: