It turns out that after upgrading to Easy Digital Downloads 3.0, a couple of important pages on the MD.com website started to load very slowly. No issues had surfaced for some days, but a small detail had started to pile up.

A performance headache, the MD account area has been loading much slower lately. It is a highly customized page (only available to MD customers) that neatly lists all direct downloads of the MD theme and drop-ins.

Thanks to the EDD developer’s foresight, a helpful clue left behind held the next clue for what to do should you see a “performance hit” after upgrading:

The main motivation behind this change was speed. Working with the legacy EDD_Payment object (and associated edd_get_payment() and edd_get_users_purchases() functions) is a performance hit. We have to navigate through multiple backwards compatibility layers to build up that object.

Oh, look, the exact functions used to design our custom account area are now even slower!

After some late night digging I rewrote an important part of the account area that relied on the now old standards. With some adjustments, the newly optimized data formats of EDD3.0 are now streaming through the MD account area!

A nice upgrade, and at no effort to you.

Comments (0)Forum replies (0)

No replies yet

Loading new replies...

Avatar of MD.com
MD.com

The Messenger

44 messages 33 likes

Dropping this stream post off for you here...

It turns out that after upgrading to Easy Digital Downloads 3.0, a couple of important pages on the MD.com website started to load very slowly. No issues had surfaced for some days, but a small detail had started to pile up. A performance headache, the MD account area has been loading much slower lately. It

- Alex

Reply Like

Leave a Comment

November sale: Save 25% on all new licenses!