[wp-trac] [WordPress Trac] #61485: Refactor Etag-based cache busting for styles and scripts solution and add tests
WordPress Trac
noreply at wordpress.org
Sun Aug 25 23:47:18 UTC 2024
#61485: Refactor Etag-based cache busting for styles and scripts solution and add
tests
--------------------------------------+----------------------------
Reporter: vrajadas | Owner: peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Script Loader | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58935" 58935]:
{{{
#!CommitTicketReference repository="" revision="58935"
Script Loader: Refactor Etag generation for concatenated assets.
Move Etag HTTP header generation in `load-scripts.php` and `load-
styles.php` to `WP_Dependencies`.
Introduces the method `WP_Dependencies::get_etag()` and associated unit
tests.
Follow up to [57943].
Props vrajadas, martinkrcho, mukesh27.
Fixes #61485.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61485#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list