I’d like to use an HTML’s
preconnect on my HTML page because I know Algolia will be used and removing the connection times (by connecting while my app is waiting for my JS bundle to download & parse) would shave off 100’s of MS, up to 1s it appears of blank white page time. Example:
<link rel="preconnect" href="https://foo.com">
However, Algolia sends requests to connect to URLs similar to:
- Are these URLs stable to my application? Or what URLs can I use to preconnect to?
- When Algolia is loaded, two requests are made. Is the first to locate the Algolia server containing my data and the second to request the data? Just curious.