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

WordPress Trac noreply at wordpress.org
Mon Dec 28 12:35:53 UTC 2015


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

 * milestone:  Future Release => 4.5


Comment:

 Replying to [comment:5 dd32]:
 > > This looks like it could be a nightmare for testing, though. We'd need
 to make sure that nightly builds force a new $wp_version. (Testing
 develop.svn /build would still be painful, though.)
 >
 > IMHO we'd have to disable it for anything that's not a stable release,
 and as for testing it if it's only active for stable, well, we'd just use
 the version param in that case (I bet there's a security plugin that
 removes that though?)

 [attachment:28722.3.diff] is a refreshed patch that applies cleanly
 against trunk.

 It doesn't `exit()` when `$wp_version` contains a hyphen and therefore is
 considered to not be a stable release.

 Previous testing already showed that simply using `$wp_version` for the
 Etag is the fastest solution.

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


More information about the wp-trac mailing list