Opened 9 years ago
Closed 9 years ago
#34030 closed defect (bug) (fixed)
Plugins API: Request only data which is needed
Reported by: | ocean90 | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Plugins | Keywords: | |
Focuses: | performance | Cc: |
Description (last modified by )
There are some plugins_api()
calls which are requesting all data fields even if only some of them are used. We should define the fields to reduce execution time and memory usage.
Defaults:
'short_description' => true, 'description' => false, 'sections' => true, 'tested' => true, 'requires' => true, 'rating' => true, 'ratings' => true, 'downloaded' => true, 'downloadlink' => true, 'last_updated' => true, 'added' => true, 'tags' => true, 'compatibility' => true, 'homepage' => true, 'versions' => false, 'donate_link' => true, 'reviews' => false, 'banners' => false, 'icons' => false, 'active_installs' => false, 'group' => false, 'contributors' => false,
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
5 plugins: Time: -0.3s, Memory: -0.1M