News for hackers. Stuff that matters.
Re:Onedrive is slow on Linux but fast with a “Windows” user-... by adrianpike on Wednesday March 22, 2017 @12:38PM (#13932363)
Maybe they're injecting a brazillion polyfills if it's not a known user-agent?
Re:Onedrive is slow on Linux but fast with a “Windows” user-... by popey456963 on Wednesday March 22, 2017 @12:47PM (#13932479)
100MB? Assuming they're using GZIP, that's normally a 10% compression ratio, leading to about 1GB of actual data. Let's assume this data is stored as 8 bits, that's about one hundred million characters of code! Maybe what they're doing is downloading the entirety of Windows XP (roughly a gig in size), running it in JavaScript and then rendering the page in Internet Explorer within their version of XP.
Re:Onedrive is slow on Linux but fast with a “Windows” user-... by madmulita on Wednesday March 22, 2017 @12:45PM (#13932458)
Yet, it works as expected without the polyfills.
Re:Onedrive is slow on Linux but fast with a “Windows” user-... by DoctorOW on Wednesday March 22, 2017 @12:51PM (#13932519)
Right. But he's suggesting that if they don't recognize the browser that they inject as much polyfills as they can so everything works no matter what.