Add <link rel="dns-prefetch" href="//restbase.wikimedia.org"> to the <head> element of Wikimedia MediaWiki pages.
|Resolved||ori||T92864 Investigate the use of DNS prefetching for reducing page load time.|
|Resolved||ori||T94784 Prefetch DNS for restbase.wikimedia.org|
- Mentioned In
- T133001: Decom legacy ex-parsoidcache cxserver, citoid, and restbase service hostnames
rEVED9cdc575275d9: Pre-fetch RESTBase DNS and negotiate TLS
rEVED78c63ba2bafa: Pre-fetch RESTBase DNS and negotiate TLS
rEVEDc741db537832: Pre-fetch RESTBase DNS and negotiate TLS
T95229: Set up an API base path for REST and action APIs
- Mentioned Here
- T95229: Set up an API base path for REST and action APIs
T92864: Investigate the use of DNS prefetching for reducing page load time.
I think we we'll gain a lot more cold-start performance by proxying directly from the main domain, for example at /api/v1/. This will also share the same established connection (possibly SPDY), and save the expensive TLS setup.
Here is a break-down of timings from a cold-start VE load (the MW.org RESTBase page):
Edit: Now tracked in T95229.