[wp-trac] Re: [WordPress Trac] #3155: Several "notice" messages in WP 2.1-alpha3

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 21 18:31:46 GMT 2006


#3155: Several "notice" messages in WP 2.1-alpha3
--------------------------+-------------------------------------------------
 Reporter:  quix0r        |        Owner:  anonymous
     Type:  enhancement   |       Status:  new      
 Priority:  high          |    Milestone:  2.1      
Component:  Optimization  |      Version:  2.1      
 Severity:  major         |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by quix0r):

 Okay, I reset the settings. Btw: new attachment added. Now the following
 functions are "cached" by the element cacher I have written:

 - wptexturize
 - wpautop
 - sanitize_user
 - sanitize_title_with_dashes
 - url_to_postid
 - mysql2date
 - get_option

 I did this because my profiler showed me they where using too much time.
 My cacher will compare the given settings in parameter list with it's
 internal hash list. The hash will be created by the parameters +
 recommended and optional WP_SECRET. If the hash was found it returns the
 value from the cache otherwise it got added after the main part of the
 function.

 If you don't understand this please take wptexturize() as an example and
 look in my element-cache.php script for details. I have added lots of one-
 line comments to my scripts so you will maybe understand it a little. If
 you don't mind I can also attach here both profiler reports. :-)

 The added SQL cacher (wp-db_cache.php) is experimental and unfinished.

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


More information about the wp-trac mailing list