[wp-trac] [WordPress Trac] #22844: random_seed transient is autoloaded with no reason

WordPress Trac noreply at wordpress.org
Wed Dec 12 07:23:50 UTC 2012


#22844: random_seed transient is autoloaded with no reason
--------------------------+------------------------------
 Reporter:  mark-k        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:  3.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by mark-k):

 Replying to [comment:4 nacin]:
 >
 > I think we'd rather avoid storing something like this with an
 expiration. Semantically, it is not something that needs to expire after a
 period of time.

 But transients have an implicit expiration when object cache is used.
 AFAIK with APC object caching, the transient will expire every time
 appache is reset or when it is purged from memory due to low use. Therefor
 it makes more sense to have it as a not auto loading option.

 And I agree about the minimal impact on performance my suggestion has, but
 then where do you draw the line? Taken to extreme it can be said on almost
 every option that its memory and speed impact is negligible, so why don't
 we auto load all the options table.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22844#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list