/
Optimize SQL for loading content blocks

Optimize SQL for loading content blocks

Currently to display a content block an database query is made. Unfortunately each additional content block will trigger yet another database query.

Solution

Query all content blocks of the page (in <inp2:st_ContentBlock .../> tag) in case somebody wants to get just one content block. Keep in mind, that each content block can have revisions and draft versions and we need to display correct one).

Related Tasks

INP-1405 - Getting issue details... STATUS