[wp-trac] [WordPress Trac] #60375: Site Transfer Protocol
WordPress Trac
noreply at wordpress.org
Tue Apr 16 09:40:21 UTC 2024
#60375: Site Transfer Protocol
-------------------------+------------------------------
Reporter: zieladam | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Import | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by zieladam):
Downloading media files sequentially can be extremely slow – see this
network graph from Playground: https://github.com/WordPress/blueprints-
library/issues/100
The transfer protocol should parallelize the transfers using stream_select
– a native PHP function supported on all PHP versions supported by
WordPress. I've built this small, dependency-free AsyncHTTP\Client wrapper
for the Blueprints library that we could readily reuse here:
https://github.com/WordPress/blueprints-
library/blob/trunk/src/WordPress/AsyncHttp/Client.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60375#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list