Sn8z / RottenTomato

RottenTomato
0 stars 0 forks source link

Improve loading times and API calls #17

Open Sn8z opened 8 years ago

Sn8z commented 8 years ago

At this moment we perform all 3rd party calls in the controllers for the view we are accessing, this causes long loading times and if one request fails the whole page crashes.. not optimal :D This issue should be of priority!

Sn8z commented 8 years ago

All api calls have now been moved to a separate rake task that stores the response as objects in our db, this greatly improves loading speed but it also means that we have to call the task which means that we have to fix Heroku Scheduler.. This also means that the info will only be renewed each 10 minutes or so.