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

WordPress Trac noreply at wordpress.org
Thu Jul 3 18:08:36 UTC 2014


#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:  Awaiting Review
Component:  Script Loader    |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration, performance
-----------------------------+------------------------------------------

Comment (by sergej.mueller):

 '''How to test it'''

 1. Open ''Developer Tools'' in your browser. Switch to ''Network'' tab.
 2. Reload a admin page (e.g. dashboard) and monitor the requested files in
 dev tools.
 3. Look for ''load-scripts.php'' and ''load-styles.php'' files.

 - Before patch both files provide a ''200 status code'' and give back all
 of requested CSS/JS code.
 - After patch WordPress will return a ''304 status code'' (''Not
 Modified''
 http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5) and send
 plain header without content.

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


More information about the wp-trac mailing list