This is a migrated thread and some comments may be shown as answers.

Optimizing ContentFilters performance

1 Answer 87 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Joseph Alfano
Top achievements
Rank 1
Joseph Alfano asked on 04 May 2010, 07:48 PM
We have a web forms page with multiple rad editors on it.  All editors have the ContentFilter property set to "DefaultFilters".  Upon clicking a postback button, there is a lag in the submission due to the contentfilters of the radEditors being applied.  

I am trying to optimize performance by only turning on those filters that are necessary to insure XHTML compliance of the output.  There is a filter titled "ConvertToXhtml".  Additionally, there are filters titled "ConvertFontToSpan" and "FixUlBoldItalic".  If I have "ConvertToXhtml" turned on, are these other two filters redundant, since when you convert the content to XHTML, won't it convert <font> and <u> tags to <span> tags?  If so, should I just apply the "ConvertToXhtml" filter and turn these other two filter off?

Also, I have followed your guideline on optimizing RadEditor performance (for example, http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-performance-issue.aspx and http://www.telerik.com/support/kb/aspnet-ajax/editor/radeditor-loads-slowly-high-cpu-utilization.aspx).  Do you have any other recommendations for speeding up the processing of the RadEditor content by the ContentFilters?

Thanks so much for your assistance.

Joe

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 May 2010, 02:20 PM
Hi Joseph,

The ConvertToXhtml filter does not include the code of the ConvertFontToSpan and FixUlBoldItalic so they should be turned on too. You can disable these filters: FixEnclosingP, PdfExportFilter and IndentHTMLContent.

In the Q2 2010 release, we will provide the ability to disable the Undo/Redo feature which will significantly increase the loading, typing and submit speed when editing large content.

Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Joseph Alfano
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or