inboundnow / inbound-mailer-retired

0 stars 1 forks source link

Ajax power stats on email listing page #58

Closed atwellpub closed 8 years ago

atwellpub commented 8 years ago

When updating stat columns on the email list page we need to back out of inline mandrill api calls and convert them to ajax powered loads to make sure the page loads speedily.

atwellpub commented 8 years ago

Looks like it is working.

atwellpub commented 8 years ago

In this video there are 12 ajax calls for 12 emails: http://screencast.com/t/kDjg5yGjJ

Mandrill stats are cached for 3 minutes. Empty/unsent emails make no poll to mandrill. But they do do a ajax call.