0) { for(assetIndex = 0; assetIndex < metaAssetNames.length; assetIndex ++) { var metaAssetName = metaAssetNames[assetIndex]; var re = new RegExp("\.css\?AUIClients/" + metaAssetName); for(i = 0; i < performance.getEntries().length; i++) { var dpEntry = performance.getEntries()[i]; var res = dpEntry.name.match(re); if(res && dpEntry.initiatorType && dpEntry.initiatorType == "link") { var dpmaDuration = dpEntry.duration; ue.count(metaAssetName +".duration", dpmaDuration); if(dpmaDuration < 50) { ue.tag(metaAssetName + "Cached"); } else { ue.tag(metaAssetName + "NotCached"); } ue.count(metaAssetName + ".startTime", dpEntry.startTime); } } } } else { ue.count("DPMANoMetaAsset", 1); } for(i = 0 ; i < performance.getEntries().length ; i++) { var name = performance.getEntries()[i].name ; var res = name.match(/.css?AUIClients/AmazonUI/); var initiatorType = performance.getEntries()[i].initiatorType; if(res && initiatorType && initiatorType == "link") { var duration = performance.getEntries()[i].duration ; ue.count("aui.duration", duration); ue.count("aui.startTime", performance.getEntries()[i].startTime); if(duration navFlyoutContentHeight){ var recommendations = recommendationsWidget.querySelectorAll(‘.biaNavFlyoutFaceout’); if (recommendations.length
Source

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>