Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 5.10.0-b1
-
Fix Version/s: 5.10.0-b1
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
The Domains widget on the client profile page, and the page "Billing > Domains", is slow to load with even a single domain name. I've experienced this with multiple registrars, including Enom, but to reproduce:
1. Fresh install of Blesta (not a requirement)
2. Install ConnectReseller module
3. Order 1 domain name (as an admin is fine)
4. Note that the Domains widget takes a while to load on the client profile page and Billing > Domains loads slowly.
It appears to be doing an API call to the registrar on every page load. This shouldn't be necessary because any data we need should already be stored with the domain, the sync only needs to occur periodically. If some data is missing, it might warrant an API call, but it should not be doing API calls each time the widget loads.