turbolinks / turbolinks-ios

Native iOS adapter for building hybrid apps with Turbolinks 5
MIT License
880 stars 92 forks source link

Startup Performance #141

Closed jeffmcfadden closed 6 years ago

jeffmcfadden commented 6 years ago

What are the best practices for optimizing startup performance? We have an app with several tabs, and first-launch experience (and app resume) pretty much sucks. We've optimized the heck out of our site infrastructure, but even a 100ms response time feels like forever once you add DNS resolution, latency, and related resource (css/js) fetching.

We have some ideas about how we can optimize the experience, but I thought we should ask if anyone else has a clever solution to this that they've already tried, before we go diving deep.

zachwaugh commented 6 years ago

I'm sorry to say I don't really have good advice here. If all your tabs are web views loading remote pages, I don't think there is too much you can do to really make it fast. In Basecamp, all the initial view controllers for our main 4 tabs are 100% native for this exact reason.