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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 3 04:33:16 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     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Changes (by azaozz):

  * keywords:  => has-patch

Comment:

 I couldn't reproduce it. Loading directly /wp-
 includes/js/tinymce/tiny_mce_config.php from a server with similar
 configuration averages at about 0.8 sec. with compression and server side
 caching disabled.

 Also line 259 should run only once when TinyMCE's configuration is
 changed, after that the server side cache is saved and on the next load it
 should return header "HTTP/1.1 304 Not Modified" if caching in the browser
 is enabled.

 Header "Content-length ..." is not essential. RFC 2616 lists it as "should
 use". It may help to speed things up, especially when there is high packet
 loss on the net.

 On the other hand when TinyMCE is gzipped, the server sets header
 "Transfer-Encoding    chunked" which ignores Content-length, so it's
 better to not send it at all in this case.

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


More information about the wp-trac mailing list