[wp-trac] [WordPress Trac] #60764: Translation file cache never expires, causes issues for atomic filesystems

WordPress Trac noreply at wordpress.org
Wed Mar 13 09:15:59 UTC 2024


#60764: Translation file cache never expires, causes issues for atomic filesystems
------------------------------+-------------------------
 Reporter:  dd32              |       Owner:  swissspidy
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  6.5
Component:  I18N              |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  multisite
------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch commit
 * owner:  (none) => swissspidy
 * status:  new => reviewing


Comment:

 Thanks for opening this.

 Adding an expiry time and changing the group like this sounds reasonable
 to me.

 I was thinking maybe `12 * HOUR_IN_SECONDS` would be a good expiry,
 matching update checks, but an hour should also be fine. Still better than
 no caching or no expiry.

 Tentatively marking as ready for commit

 /cc @mreishus who reported the original ticket & tested the caching on
 dotcom.

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


More information about the wp-trac mailing list