[wp-trac] [WordPress Trac] #28722: Boost performance with ETag in load-scripts.php and load-styles.php

WordPress Trac noreply at wordpress.org
Mon Jan 18 03:01:52 UTC 2016


#28722: Boost performance with ETag in load-scripts.php and load-styles.php
------------------------------+------------------------------------------
 Reporter:  sergej.mueller    |       Owner:  swissspidy
     Type:  feature request   |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Script Loader     |     Version:  4.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration, performance
------------------------------+------------------------------------------

Comment (by dd32):

 > Build Tools: Append the timestamp to $wp_version instead of only the
 current date.

 I don't think using a unix timestamp is the best idea here, it should be a
 human-readable timestamp.

 I'd suggest it be `grunt.template.today( 'yyyymmdd.HHMMss' )` instead. The
 extra dot there makes it easier to split up and read,
 `4.5-alpha-20160118.140058`, could also use another `-` instead.

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


More information about the wp-trac mailing list