Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Each page on Front-End of In-Portal can have unlimited number of content blocks on it. Content blocks are then used to create similar (by design) pages, that only differs by information, displayed on them.

In majority of cases all content blocks entered for a page would be displayed on it at all times. Knowing that I was very surprised to discover, that each content block data is retrieved using a separate database query. So if for example page have 20 content blocks, then extra 20 database queries would be made just to show that page.

I'm proposing to load content of all content blocks for a page with a single database query instead.

  • No labels