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 »

There are 2 types of content blocks (part of the page with variable content):

  • regular - editable in separate modal/popup window
  • inline - editable without leading the page.

To change content of a content block (regular/inline) an WYSIWYG editor is used. In the  INP-1587 - Getting issue details... STATUS  a change was made (to solve another issue), that introduced an internal HTTP call for getting URL of the stylesheet to be used by WYSIWYG editor.

Turns out, that when inline content blocks are used, then internal HTTP call is made for each of them. This results in a serious delay of page load, when many (e.g. 20) inline content blocks are used on the same page.

Solution

In the "\fckFCKHelper::getStyles" method cache results, so that no additional HTTP calls are made for same input data.

Related Tasks

  • No labels