LAG | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 8

LAG

I've noticed that most of my complex codes lags when I try to run it on the app. Though through my Chrome app, everything is smooth but doesn't look as cool in the Sololearn app. So I came up with a solution that might also help others. You can script your CSS and JS offsite and link them with the <link> and <script> tag to your code on here. This will not only make codes not lag but it will promote users to make more complex and innovative codes.

13th May 2017, 8:55 AM
Ghauth Christians
Ghauth Christians - avatar
4 Antworten
+ 5
I noticed that could take some time as it seems the code of the 3 tabs is send to the server, and then requested to be load ( inside 'webview' on android, <iframe> on website -- I don't no for iOS )... what should be avoided ;) Anyway, I ask recently myself, if some threatment wasn't done ( at list on website ) to our web content before been loaded inside <iframe>... ( it seems to myself that it takes much time to have a prefilled 'src' attribute on an <iframe> than to load it with JS after window.load event occurs ^^ )
13th May 2017, 9:30 AM
visph
visph - avatar
+ 3
By offsite I mean that you can store your CSS and JS on a website of your own and then just link to it. If you don't have a website then you can make one for free through http://www.000webhost.com
13th May 2017, 8:57 AM
Ghauth Christians
Ghauth Christians - avatar
+ 3
how about making Sololearn Online Compiler Which Working on Web Flawlessly (SOC WWW F)?
13th May 2017, 9:09 AM
Setiawan Next
Setiawan Next - avatar
+ 2
Lol that's a funny abbreviation there @Setiawan Next, good idea too. ☺
13th May 2017, 9:12 AM
Ghauth Christians
Ghauth Christians - avatar