[wp-trac] [WordPress Trac] #6524: wp-includes/js/tinymce/tiny_mce_config.php very slow

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 1 11:29:56 GMT 2008


#6524: wp-includes/js/tinymce/tiny_mce_config.php very slow
----------------------+-----------------------------------------------------
 Reporter:  Toolskyn  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  low       |   Milestone:  2.5.1    
Component:  TinyMCE   |     Version:  2.5      
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 wp-includes/js/tinymce/tiny_mce_config.php gave problems in my
 installation. That file took almost 16 seconds to load.

 After some debugging I found out that if I comment line 259:
  header( 'Content-Length: ' . strlen($content) );
 its loadtime was reduced extremely, back to a more normal value.

 When I looked at the tiny_mce_config.php alone I could already see al
 content while it was still loading. So the browser was waiting for content
 while everything was already available. So it looks like the
 strlen($content) returns a value that is too large.

 The browsers I used to test this were Firefox 3 beta 4, Safari 3.10 and
 Opera 9.23

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6524>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list