Perfecting the Easy Digital Downloads 3.0 upgrade
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_Paymentobject (and associated
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.
No replies yet
Loading new replies...