|
|
|
|
|
by kbenson
1138 days ago
|
|
Mail is good for a SPA because the main central view which shows the different items (emails) to view or take an action on is based on a resource intensive back-end request, so keeping that state present and not having to refresh it on many of the different navigation actions yields a tremendous benefit. You could do some client side caching with local page data, but just keeping it present and requesting updates to it only is vastly superior. Thats honestly one place SPAs shine, where there's a relatively expensive request that provides data and then a lot of actions that function on some or all of that data transiently. |
|
That is, it may seem a fine optimization, but has led to a fairly bloated experience.