[wp-trac] [WordPress Trac] #58433: WP version in Etag header in load-styles.php file

WordPress Trac noreply at wordpress.org
Tue Apr 2 19:21:31 UTC 2024


#58433: WP version in Etag header in load-styles.php file
-------------------------------------------------+-------------------------
 Reporter:  dav4                                 |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info has-screenshots                   |
-------------------------------------------------+-------------------------

Comment (by kkmuffme):

 - the ETAG should be changed to a weak etag "W/" as otherwise transforming
 by an proxy isn't allowed (e.g. gzip/brotli compressing) which leads to
 higher than necessary load times
 - use crc32 instead of md5 - it's just as insecure, but at least faster

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


More information about the wp-trac mailing list