Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Calendar slow to load #22

Open
brentdur opened this issue Feb 20, 2016 · 2 comments
Open

Calendar slow to load #22

brentdur opened this issue Feb 20, 2016 · 2 comments

Comments

@brentdur
Copy link

perhaps considering loading part of the data at a time? Rather than everything.

I feel like it would be better to have a small load every two months (how many users are curious about +/- two months) then have a huge load at the beginning, which encourages users to leave

@AbhiAgarwal
Copy link
Member

Perhaps we can start having pagination on the API or have a ?limit=20 type of parameter. Unless we already have this (@ethanresnick?). We can probably just load a subsection of the events data on load, and then load more if the user goes back more than a couple months? Since right now it's loading ~200 large events at once.

@ethanresnick
Copy link
Member

Yeah, we should definitely have pagination, and we don't now (except at one endpoint, I think). There's an open issue for it. Maybe we can figure out how to implement it efficiently when I'm next in NYC.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants