Database access optimisation: Viewing a super panel
Description: Viewing a super panel create many queries? SQL queries hitting to database ranging from 33 queries to 342 queries; varying depends on the child panels and their entities, relations. This contrasts to a normal panel which usually create 18 queries.
Steps to reproduce locally:
- DEBUG flag on
- Debug Toolbar on
- View some super panels with varying child panels and their entities, reviews associated
- Monitor console logs and Debug Toolbar profiling on SQL queries.
- Affecting performance and slow responsiveness
- Not ideal database access operation