[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 13:53:55 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 | Focuses: administration, performance
-----------------------------+------------------------------------------
Changes (by swissspidy):
* keywords: has-patch needs-refresh => has-patch
Comment:
Replying to [comment:9 ocean90]:
> `HTTP/1.1` should probably be replaced with the value of
`$_SERVER['SERVER_PROTOCOL'];`. Related: #34131
[attachment:28722.4.diff] now uses `status_header( 304 )`.
Replying to [comment:8 dd32]:
> [attachment:28722.3.diff] looks good to me, although some mechanism for
testing this in trunk before release would be greatly beneficial.. having
code that does nothing in trunk, and suddenly kicks in post-release could
be a disaster :)
>
> (I can't see how this could blow up in our faces though)
I don't currently have an idea how to do this (without updating
`$wp_version` in nightly builds). Maybe already trigger it for Betas and
RCs?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28722#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list