saintpete / logrole

Logrole for Twilio - Create User Roles for Limited Access to Twilio Logs
Other
27 stars 10 forks source link

Move "fetch next page" into the views client #9

Open kevinburke opened 7 years ago

kevinburke commented 7 years ago

Right now each of the controllers fetches the next page into the cache. Maybe this should be the responsibility of the view client instead.

We'd have to deal with recursion in the view client - when fetching the next page, don't fetch the next next page.

kevinburke commented 7 years ago

(I'm thinking specifically for the phone number view, where we fetch 4 pages simultaneously)