Home

SPIisLatency and SPRequestDuration Response Headers in SPO Pages

%3CLINGO-SUB%20id%3D%22lingo-sub-122644%22%20slang%3D%22en-US%22%3ESPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122644%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F172%22%20target%3D%22_blank%22%3E%40Bill%20Baer%3C%2FA%3E%2C%20this%20is%20primarily%20for%20you.%20I%20hate%20to%20be%20a%20persistent%20pain-in-the-butt%20...%20but%20I%20know%20that%26nbsp%3BI%20and%20several%26nbsp%3Bother%20folks%20out%20here%20would%20love%20to%20get%20some%20official%20position%20on%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20troubleshooting%20SPO%20performance%20issues%2C%20the%20SPIisLatency%20and%20SPRequestDuration%20headers%20are%20critical.%20For%20every%20customer%20who%20complains%20that%20%22SharePoint%20Online%20is%20slow%2C%22%20I%20can%20immediately%20use%20these%20two%20headers%20to%20hone-in%20on%20whether%20the%20issue%20is%20page%20weight%2C%20sub-optimal%20development%2C%20potential%20internal%20network%20issues%2C%20or%20some%20combination%20of%20the%20two.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wrote%20a%20blog%20post%20to%20help%20users%20leverage%20these%20response%20headers%20in%20troubleshooting%26nbsp%3B%20(%3CA%20href%3D%22https%3A%2F%2Fsharepointinterface.com%2F2017%2F07%2F07%2Fthe-five-minute-page-performance-troubleshooting-guide-for-sharepoint-online%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepointinterface.com%2F2017%2F07%2F07%2Fthe-five-minute-page-performance-troubleshooting-guide-for-sharepoint-online%2F%3C%2FA%3E)%2C%20but%20for%20some%20time%20now%20the%20presence%20of%20those%20two%20headers%20on%20a%20page%20that%20is%20returned%20from%20SPO%20has%20been%20spotty%20at%20best.%20It%20looked%20like%20the%20headers%20came%20back%20for%20a%20while%20after%20I%20sent%20you%20and%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98%22%20target%3D%22_blank%22%3E%40Chris%20McNulty%3C%2FA%3E%26nbsp%3Ba%20note%20(and%20spoke%20with%20Chris%20on%20a%20couple%20of%20occasions)%2C%20and%20I%20officially%20declared%26nbsp%3Bthe%20headers%26nbsp%3Bto%20be%20back%20at%20one%20point.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20DevConnections%20last%20week%2C%20I%20was%20giving%20a%20performance%20troubleshooting%20session%2C%20went%20to%20find%20the%26nbsp%3Bheaders%2C%20and%20was%20once%20again%20left%20holding%20the%20bag%20in%20front%20of%20a%20live%20audience.%20For%20example%2C%20this%20is%20from%20the%20home%20page%20of%20the%20SPO%20root%20site%20in%20one%20of%20my%20tenants%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F23194iA2015B420B61A979%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENotice%3A%20no%20SPRequestDuration%20and%20SPIisLatency%20headers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%2C%20please%3A%20are%20these%20headers%20supposed%20to%20be%20present%3F%20Are%20they%20for%20some%20reason%20being%20phased-out%20because%20something%20%22better%22%20is%20being%20developed%3F%20It's%20getting%20harder%20and%20harder%20to%20tell%20live%20audiences%2C%20%22Hey%2C%20they're%20supposed%20to%20be%20there.%20Let's%20pretend%20they're%20there.%22%20I'd%20like%20to%20know%20what%20exactly%20is%20going%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20please%20take%20a%20moment%20to%20comment%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Sean%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-122644%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPerformance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-393222%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-393222%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20modern%20pages%2C%20yes%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93178%22%20target%3D%22_blank%22%3E%40Yorick%20Kuijs%3C%2FA%3E%26nbsp%3B.%20I'm%20moving%20slowly%2C%20but%20I%20finally%20put%20together%20a%20post%20on%20how%20to%20get%20the%20metrics%20you%20mention%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsharepointinterface.com%2F2019%2F03%2F26%2Fobtaining-performance-metrics-for-sharepoint-online-modern-pages%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepointinterface.com%2F2019%2F03%2F26%2Fobtaining-performance-metrics-for-sharepoint-online-modern-pages%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-215068%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-215068%22%20slang%3D%22en-US%22%3E%3CP%3EI%20wanted%20to%20take%20a%20moment%20to%20share%20an%20important%20link%20with%20everyone!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EScott%20Stewart%20and%20his%20team%20at%20Microsoft%20have%20been%20working%20to%20put%20together%20a%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FUse-the-Page-Diagnostics-tool-for-SharePoint-Online-dbab2593-dc6a-40f7-adfe-031b9baa620f%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EPage%20Diagnostics%20Tool%20for%20SharePoint%3C%2FA%3E%2C%20and%20it%20is%20now%20available%20for%20the%20Chrome%20browser.%20I%20know%20it%20was%20Scott's%20intention%20to%20have%20it%20ready%20for%20Edge%2C%20as%20well%2C%20so%20keep%20your%20eyes%20open%20if%20you're%20an%20Edge%20user.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20link%20(above)%20takes%20you%20to%20an%20article%20on%20the%20tool%2C%20how%20to%20use%20it%2C%20and%20how%20to%20get%20it.%20The%20tool%20directly%20incorporates%20the%20headers%20we've%20been%20talking%20about%20here%2C%20as%20well%20as%20a%20bunch%20of%20other%20analyses%20and%20tips.%20You'll%20want%20to%20get%20it%20ASAP!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%2C%20Scott%20and%20team!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202456%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202456%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93178%22%20target%3D%22_blank%22%3E%40Yorick%20Kuijs%3C%2FA%3E%26nbsp%3B-%3C%2FP%3E%3CP%3EI%20noticed%20that%20the%20variables%20for%20g_iisLatency%20and%20g_Duration%20are%20in%20the%20page%20source%20for%20certain%20types%20of%20pages%20but%20not%20all.%20Seems%20to%20me%20that%20all%20pages%20in%20classic%20sites%20have%20these%20variables.%26nbsp%3B%20In%20Modern%20sites%2C%26nbsp%3B%20document%20library%20pages%2C%20also%20have%20the%20same%20variables.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%26nbsp%3Bon%20the%26nbsp%3Bhome%20page%20for%20a%20Modern%20Team%20site%2C%20I%20could%20not%20find%20these%20variables%20(at%20least%20not%20with%20the%20spellings%20below).%26nbsp%3B%20But%20I%20did%20discover%20that%20these%20values%20%3CEM%3E%3CSTRONG%3Eare%3C%2FSTRONG%3E%20%3C%2FEM%3Eprovided%20within%20a%20json%20string%20in%20the%20page%20source%20in%20modern%20site%20pages.%26nbsp%3B%20Simply%20search%20for%20%22perf%22%20or%20%22spRequestDuration%22%20and%20you'll%20find%20something%20like%20this%3A%3C%2FP%3E%3CBLOCKQUOTE%3E%3CDIV%3E%22perf%22%20%3A%20%7B%3C%2FDIV%3E%3CDIV%3E%22%3CSTRONG%3EIisLatency%3C%2FSTRONG%3E%22%3A%222%22%2C%3C%2FDIV%3E%3CDIV%3E%22%3CSTRONG%3EspRequestDuration%3C%2FSTRONG%3E%22%3A%22238%22%2C%3C%2FDIV%3E%3CDIV%3E%22QueryCount%22%3A%225%22%2C%3C%2FDIV%3E%3CDIV%3E%22QueryDuration%22%3A%2229%22%2C%3C%2FDIV%3E%3CDIV%3E%22CPUDuration%22%3A%22189%22%2C%3C%2FDIV%3E%3CDIV%3E%22ClaimsAuthenticationTime%22%3A%22204935%22%2C%3C%2FDIV%3E%3CDIV%3E%22ClaimsAuthenticationTimeType%22%3A%22CacheHitVelocity%22%2C%3C%2FDIV%3E%3CDIV%3E%22Network-WindowScaleOption%22%3A%228%22%2C%3C%2FDIV%3E%3CDIV%3E%22Network-PacketRetransmitCount%22%3A%220%22%2C%3C%2FDIV%3E%3CDIV%3E%22Network-SmoothedRoundTripTime%22%3A%2231%22%3C%2FDIV%3E%3CDIV%3E%7D%3C%2FDIV%3E%3C%2FBLOCKQUOTE%3E%3CP%3EAs%20you%20can%20see%20this%20contains%20the%20details%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F37734%22%20target%3D%22_blank%22%3E%40Sean%20McDonough%3C%2FA%3E%26nbsp%3Bwas%20describing%2C%20plus%20some%20additional%20metrics.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20at%20some%20point%20this%20data%20shall%20be%20provided%20in%20a%20consistent%20manner%20across%20all%20types%20of%20pages.%26nbsp%3B%20Ideally%2C%20it%20would%20great%20to%20have%20it%20in%20the%20headers%20instead%20of%20page%20source.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-176015%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-176015%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20know%20that%20the%20IISLatency%20and%20RequestDuration%20values%20can%20now%20be%20found%20in%20the%20page%20content%3F%20Just%20search%20for%26nbsp%3Bg_iisLatency%20and%20g_Duration.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-173866%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-173866%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20do%20...%20and%20to%20back%20it%20up%2C%20I'll%20get%20you%20a%20beverage%20of%20your%20choice%20at%20SPCNA%26nbsp%3B%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-173799%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-173799%22%20slang%3D%22en-US%22%3E%3CP%3EI'll%20take%20that%20as%20a%20thank%20you%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-173654%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-173654%22%20slang%3D%22en-US%22%3E%3CP%3EFrom%20my%20blog%20post%20(%3CA%20href%3D%22https%3A%2F%2Fsharepointinterface.com%2F2017%2F07%2F07%2Fthe-five-minute-page-performance-troubleshooting-guide-for-sharepoint-online%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepointinterface.com%2F2017%2F07%2F07%2Fthe-five-minute-page-performance-troubleshooting-guide-for-sharepoint-online%2F%3C%2FA%3E%3A(%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EUPDATE%20(3%2F20%2F2018)%3A%20As%20most%20of%20you%20who%20have%20been%20following-along%20in%20your%20own%20tenants%20know%2C%20this%20issue%20wasn't%20actually%20truly%20resolved%20last%20September.%20For%20a%20while%2C%20in%20some%20cases%2C%20it%20looked%20like%20the%20SPIisLatency%20and%20SPRequestDuration%20headers%20came%20back.%20But%20the%20victory%20was%20fleeting%2C%20and%20since%20that%20time%20I've%20continued%20to%20get%20comments%20from%20people%20saying%20%22but%20I%20don't%20see%20them!%22%20And%20while%20I%20had%20the%20headers%20for%20a%20while%20in%20my%20tenant%2C%20I%20haven't%20seen%20them%20in%20any%20predictable%20fashion.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20good%20news%20is%20that%20after%20much%20hounding%20and%20making%20myself%20a%20royal%20pain-in-the-tuckus%20to%20Bill%20Baer%20and%20others%20at%20Microsoft%2C%20it%20looks%20like%20we%20FINALLY%20have%20the%20right%20engineering%20and%20dev%20teams%20engaged%20to%20look%20at%20this.%20We%20got%20traction%20on%20it%20this%20week%2C%20with%20multiple%20repro%20scenarios%20and%20Fiddler%20traces%20being%20passed%20around%20...%20so%20I'm%20truly%20hopeful%20we'll%20see%20something%20before%20long.%20Stay%20tuned!%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172993%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172993%22%20slang%3D%22en-US%22%3EThanks%20for%20keeping%20us%20updated%20on%20this%20topic%20Sean%2C%20really%20appreciate%20it!%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172814%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172814%22%20slang%3D%22en-US%22%3E%3CP%3EJoakim%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20can%20understand%20if%20you%20(and%20others)%20had%20thought%20that%20this%20issue%2Fquestion%20had%20died.%20It%20didn't.%20I've%20made%20myself%20a%20royal%20pain-in-the-butt%20for%20Bill%20and%20a%20couple%20of%20others%2C%20and%20I%20think%20we're%20starting%20to%20make%20progress.%20My%20hope%20is%20to%20have%20some%20meaningful%20discussion%20with%20some%20folks%20internal%20to%20Microsoft%20soon.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20if%20to%20underscore%20the%20issue%2C%20one%20of%20the%20sessions%20I'll%20be%20presenting%20at%20the%20upcoming%20SharePoint%20Conference%20North%20America%20(in%20Vegas)%20is%20on%20performance%20...%20so%20that%20places%20some%20extra%20priority%20on%20getting%20answers%20soon.%20It's%20obviously%20difficult%20to%20talk%20about%20performance%20and%20measuring%20it%20when%20two%20of%20the%20HTTP%20headers%20that%20matter%20the%20most%20for%20that%20are%20in%20Limbo!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStay%20tuned.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172672%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172672%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20all.%26nbsp%3B%20I've%20made%20the%20connections%20between%20Sean%20and%20our%20engineering%20PM%20owner.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-145920%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-145920%22%20slang%3D%22en-US%22%3E%3CP%3EJoakim%20et%20al%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20wish%20I%20had%20something%20more%20to%20share%20...%20but%20nothing%20yet.%20I've%20gone%20back%20to%20Bill%20several%20times%2C%20and%20he%20continues%20to%20nudge%20the%20development%20team.%20My%20latest%20note%20to%20him%20was%20on%201%2F9%2C%20and%20he%20followed-up%20with%20me%20within%20a%20day.%20I%20haven't%20heard%20anything%20%22usable%22%20yet%2C%20though.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20planning%20to%20give%20it%20until%20the%20end%20of%20this%20week%20and%20then%20reach%20out%20again.%20This%20has%20obviously%20been%20going%20on%20for%20months%20and%20remains%20unresolved%20...%20so%20I'm%20going%20to%20continue%20to%20be%20a%20pain%20in%20the%20butt%20about%20it%20until%20someone%20gives%20me%2Fus%20a%20usable%20reply.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20checking%20in%26nbsp%3B%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-%20Sean%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-145876%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-145876%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20updates%20on%20this%20yet%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-131923%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-131923%22%20slang%3D%22en-US%22%3E%3CP%3ENothing%20definitive%2C%20no.%20Bill%20Baer%20approached%20the%20dev%20team%20about%20it%2C%20and%20they%20seemed%20to%20indicate%20(or%20think)%20that%20it%20had%20something%20to%20do%20with%20web%20parts%20on%20a%20page.%20I%20called%20BS%20on%20that%2C%20because%20it's%20happening%20on%20blank%20pages.%20Bill%20also%20didn't%20seem%20to%20buy%20it%2C%20but%20he%20said%20the%20dev%20team%20would%20need%20a%20repro%20case%20to%20make%20headway.%20I%20generated%20the%20necessary%20data%20to%20repro%20the%20case%2C%20and%20that's%20where%20it%20was%20left.%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20planning%20to%20send%20him%20another%20note%20today%20to%20see%20if%20there's%20been%20any%20progress.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-131864%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-131864%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20you%20received%20any%20feedback%20yet%20on%20this%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-124339%22%20slang%3D%22en-US%22%3ERe%3A%20SPIisLatency%20and%20SPRequestDuration%20Response%20Headers%20in%20SPO%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-124339%22%20slang%3D%22en-US%22%3E%3CP%3E(11%2F5%2F2017)%3A%20For%20anyone%20interested%20in%20the%20outcome%20of%20this%20issue%3A%20Bill%20and%20I%20were%20at%20the%20DEVIntersections%20conference%20in%20Las%20Vegas%20this%20past%20week.%20A%20bunch%20of%20us%20went%20out%20for%20dinner%20one%20night%2C%20and%20I%20took%20the%20opportunity%20to%20approach%20him%20on%20this%20topic.%20That%20seemed%20to%20jump-start%20things%2C%20and%20he's%20followed-up%20with%20an%20internal%20(to%20Microsoft)%20email%20to%20the%20developers%20to%20get%20an%20appropriate%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20have%20some%20sort%20of%20semi-official%20reply%2C%20I'll%20update%20this%20thread.%20Stay%20tuned!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Sean McDonough
MVP

@Bill Baer, this is primarily for you. I hate to be a persistent pain-in-the-butt ... but I know that I and several other folks out here would love to get some official position on this:

 

When troubleshooting SPO performance issues, the SPIisLatency and SPRequestDuration headers are critical. For every customer who complains that "SharePoint Online is slow," I can immediately use these two headers to hone-in on whether the issue is page weight, sub-optimal development, potential internal network issues, or some combination of the two.

 

I wrote a blog post to help users leverage these response headers in troubleshooting  (https://sharepointinterface.com/2017/07/07/the-five-minute-page-performance-troubleshooting-guide-fo...), but for some time now the presence of those two headers on a page that is returned from SPO has been spotty at best. It looked like the headers came back for a while after I sent you and @Chris McNulty a note (and spoke with Chris on a couple of occasions), and I officially declared the headers to be back at one point.

 

At DevConnections last week, I was giving a performance troubleshooting session, went to find the headers, and was once again left holding the bag in front of a live audience. For example, this is from the home page of the SPO root site in one of my tenants:

 

image.png

Notice: no SPRequestDuration and SPIisLatency headers.

 

Please, please: are these headers supposed to be present? Are they for some reason being phased-out because something "better" is being developed? It's getting harder and harder to tell live audiences, "Hey, they're supposed to be there. Let's pretend they're there." I'd like to know what exactly is going on.

 

Could you please take a moment to comment?

 

- Sean

15 Replies

(11/5/2017): For anyone interested in the outcome of this issue: Bill and I were at the DEVIntersections conference in Las Vegas this past week. A bunch of us went out for dinner one night, and I took the opportunity to approach him on this topic. That seemed to jump-start things, and he's followed-up with an internal (to Microsoft) email to the developers to get an appropriate response.

 

When I have some sort of semi-official reply, I'll update this thread. Stay tuned!

Have you received any feedback yet on this issue?

Nothing definitive, no. Bill Baer approached the dev team about it, and they seemed to indicate (or think) that it had something to do with web parts on a page. I called BS on that, because it's happening on blank pages. Bill also didn't seem to buy it, but he said the dev team would need a repro case to make headway. I generated the necessary data to repro the case, and that's where it was left.

I'm planning to send him another note today to see if there's been any progress.

Any updates on this yet?

Joakim et al,

 

I wish I had something more to share ... but nothing yet. I've gone back to Bill several times, and he continues to nudge the development team. My latest note to him was on 1/9, and he followed-up with me within a day. I haven't heard anything "usable" yet, though.

 

I'm planning to give it until the end of this week and then reach out again. This has obviously been going on for months and remains unresolved ... so I'm going to continue to be a pain in the butt about it until someone gives me/us a usable reply.

 

Thanks for checking in  :)

 

- Sean

Thanks all.  I've made the connections between Sean and our engineering PM owner.

Joakim,

 

I can understand if you (and others) had thought that this issue/question had died. It didn't. I've made myself a royal pain-in-the-butt for Bill and a couple of others, and I think we're starting to make progress. My hope is to have some meaningful discussion with some folks internal to Microsoft soon.

 

As if to underscore the issue, one of the sessions I'll be presenting at the upcoming SharePoint Conference North America (in Vegas) is on performance ... so that places some extra priority on getting answers soon. It's obviously difficult to talk about performance and measuring it when two of the HTTP headers that matter the most for that are in Limbo!

 

Stay tuned.

Thanks for keeping us updated on this topic Sean, really appreciate it! :)

From my blog post (https://sharepointinterface.com/2017/07/07/the-five-minute-page-performance-troubleshooting-guide-fo...:(

 

UPDATE (3/20/2018): As most of you who have been following-along in your own tenants know, this issue wasn't actually truly resolved last September. For a while, in some cases, it looked like the SPIisLatency and SPRequestDuration headers came back. But the victory was fleeting, and since that time I've continued to get comments from people saying "but I don't see them!" And while I had the headers for a while in my tenant, I haven't seen them in any predictable fashion.

 

The good news is that after much hounding and making myself a royal pain-in-the-tuckus to Bill Baer and others at Microsoft, it looks like we FINALLY have the right engineering and dev teams engaged to look at this. We got traction on it this week, with multiple repro scenarios and Fiddler traces being passed around ... so I'm truly hopeful we'll see something before long. Stay tuned!

I'll take that as a thank you ;)

Please do ... and to back it up, I'll get you a beverage of your choice at SPCNA  :)

Do you know that the IISLatency and RequestDuration values can now be found in the page content? Just search for g_iisLatency and g_Duration.

Hello @Yorick Kuijs -

I noticed that the variables for g_iisLatency and g_Duration are in the page source for certain types of pages but not all. Seems to me that all pages in classic sites have these variables.  In Modern sites,  document library pages, also have the same variables.  

 

However, on the home page for a Modern Team site, I could not find these variables (at least not with the spellings below).  But I did discover that these values are provided within a json string in the page source in modern site pages.  Simply search for "perf" or "spRequestDuration" and you'll find something like this:

"perf" : {
"IisLatency":"2",
"spRequestDuration":"238",
"QueryCount":"5",
"QueryDuration":"29",
"CPUDuration":"189",
"ClaimsAuthenticationTime":"204935",
"ClaimsAuthenticationTimeType":"CacheHitVelocity",
"Network-WindowScaleOption":"8",
"Network-PacketRetransmitCount":"0",
"Network-SmoothedRoundTripTime":"31"
}

As you can see this contains the details @Sean McDonough was describing, plus some additional metrics. 

 

I hope at some point this data shall be provided in a consistent manner across all types of pages.  Ideally, it would great to have it in the headers instead of page source.

I wanted to take a moment to share an important link with everyone!

 

Scott Stewart and his team at Microsoft have been working to put together a Page Diagnostics Tool for SharePoint, and it is now available for the Chrome browser. I know it was Scott's intention to have it ready for Edge, as well, so keep your eyes open if you're an Edge user.

 

The link (above) takes you to an article on the tool, how to use it, and how to get it. The tool directly incorporates the headers we've been talking about here, as well as a bunch of other analyses and tips. You'll want to get it ASAP!

 

Thank you, Scott and team!

On modern pages, yes, @Yorick Kuijs . I'm moving slowly, but I finally put together a post on how to get the metrics you mention: https://sharepointinterface.com/2019/03/26/obtaining-performance-metrics-for-sharepoint-online-moder...

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies