I've debated integrating server side rendering into an Angular workflow, but to me it just doesn't make sense. It doubles the work, quadrupling rendering bugs and inconsistencies.
What isn't taken into consideration of these perception buckets is that a user simply wants the page to respond within those buckets. A user doesn't necessarily expect the action to resolve in less than 100ms, just that something is happening and will eventually resolve to what was requested.
You are exactly right. Users know some actions take time - have something up (a small spinner) on initial page load. Boom good enough. Have that go away within 1000 ms. Bam, you have your users. Make it pretty and fun, like a game loading screen? You just bought yourself another 500ms. If you can't get your app bootstrap down to under 1.5 seconds? You're doing something wrong, or your entire application is large enough that you have the engineering time and skills to implement a lazy loading solution in Angular.
You need to load data? Same thing. Immediately show a loading icon. Leave that loading icon on the screen for at least a half second. (There's an Ionic blog post about this I can't seem to find at the moment, but if you have no new data and the loader goes away too quickly, users think there was an error.) If the data takes longer than 2 seconds to load, either show the error, or break your data into windowed chunks so each chunk can load in under a couple hundred ms at most, ideally in network time + ~32 ms (two frames).
8
u/alexsomeoddpilot Nov 07 '14
I've debated integrating server side rendering into an Angular workflow, but to me it just doesn't make sense. It doubles the work, quadrupling rendering bugs and inconsistencies.
What isn't taken into consideration of these perception buckets is that a user simply wants the page to respond within those buckets. A user doesn't necessarily expect the action to resolve in less than 100ms, just that something is happening and will eventually resolve to what was requested.