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

WordPress Trac noreply at wordpress.org
Sun Apr 10 15:16:39 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
------------------------------+------------------------------------------
Changes (by jeremyfelt):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 Hi @RedSand, thanks for taking the time to share your thoughts.

 We've been using WordPress version numbers on scripts and styles for quite
 a while to break client side caching after an upgrade. If we didn't use
 WordPress version numbers, we'd have to use another number that could be
 automatically scanned. If we didn't use that, then the size or content of
 the script itself would be used for automatic scanning.

 A benefit of having cache breaking version numbers attached to scripts is
 that it helps guarantee immediate upgrades if there ever is a security
 issue. It's also an easy way for us to ~~scold~~ nudge people we know that
 are running old versions of WordPress. :)

 I'm going to re-close this ticket as fixed as it is completed against the
 4.5 milestone, which is now in RC2. I'd suggest a new ticket to continue
 discussing this concern, especially if there are other approaches that can
 be used to break scripts. Similar discussions are worth searching for as
 well, see #4155.

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


More information about the wp-trac mailing list