jasonbhart / mmh

"Meet Me Here" website to help you organize ad hoc events with your friends on the fly
0 stars 0 forks source link

Homepage loading time is too slow #532

Closed pixiewillow closed 8 years ago

pixiewillow commented 8 years ago

On Android using wifi- When I open the browser, go to the Socialivo site, and wait for the homepage to load, I first see the mobile landing page loading and then I see the regular homepage loading. The load time takes way too long, and I don't think this makes for a good user experience. The screenshots are in order that of what I see when waiting for the homepage to load.

screenshot_2016-01-12-14-08-12

screenshot_2016-01-12-14-08-28

screenshot_2016-01-12-14-13-20

loipl commented 8 years ago

There might be some changes on how we should use the mobile landing page... Currently we redirect user to mobile landing page if they come to homepage first time from mobile.

Slow loading is the problem of internet connection while retrieving local event data...

jasonbhart commented 8 years ago

Can we detect mobile user AND applicable activities before loading most of the homepage so we issue redirect request sooner and dont waste time loading most of the homepage before we push the user to the mobile landing page?

On Wed, Jan 13, 2016 at 12:44 AM, Pham Le Loi notifications@github.com wrote:

There might be some changes on how we should use the mobile landing page... Currently we redirect user to mobile landing page if they goes to homepage first time from mobile.

Slow loading is the problem of internet connection while retrieving local event data...

— Reply to this email directly or view it on GitHub https://github.com/jasonbhart/mmh/issues/532#issuecomment-171217276.

[image: photo] Jason B. Hart m:(408) 646-4677 | e:jasonbhart@gmail.com http://facebook.com/jasonbhart http://www.linkedin.com/in/jasonbhart http://twitter.com/jasonbhart

loipl commented 8 years ago

@jasonbhart we did it already. For now if a mobile user come to main home page, they will be redirected into mobile landing page. Then we retrieve local activities here (which is slow)... If mobile landing page has no activity, or user select "No" for all of suggested activity, user will be redirected into main homepage (retrieve local activities & show loading again)...

I guess we need to do somehow improve the speed of getting local event, or create cache for local event specifically.

loipl commented 8 years ago

We will need to create fake events (local events) to make our homepage looks more appealing in the future...

jasonbhart commented 8 years ago

@loipl Why is the retrieving of local activities slow? This should be very fast on Firebase. I think caching as much as possible would provide the best user experience. It is likely the user will be referencing the same sets of data without moving locations while in the same session.