[wp-trac] [WordPress Trac] #32052: Add out of the box support for MO file caching

WordPress Trac noreply at wordpress.org
Mon May 4 12:36:24 UTC 2015


#32052: Add out of the box support for MO file caching
-------------------------+------------------------------
 Reporter:  nicofuma     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+------------------------------

Comment (by nicofuma):

 I perfectly understand it can take time. It's just that if there is some
 concerns (or other options) I'll be happy to discuss about them :)

 In my language (in french) it represents around 1.6MB in the database
 (without compression) and 2.5MB in PHP. It's not that much but it's not
 negligible either. That's why I initially proposed to use the Object Cache
 API instead of the transient but the performance improvement is still
 noticeable when it is stored in the database.

 Note: I just saw that the links in the description are wrong. If someone
 want to see the hole data:
 - Without caching: https://blackfire.io/profiles/a03c95c9-fafe-459e-a36a-
 e69edb2ed25d/graph
 - With caching: https://blackfire.io/profiles/0a6e6d0e-72cd-
 4a93-9bb2-584314bbe23c/graph
 - Comparison: https://blackfire.io/profiles/compare/9fe80991-567a-4e87
 -862c-2bb05bc4dc62/graph

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32052#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list