Thanks for your reply, @olektidio.
In my case, I only load Tidio after cookie consent is granted by the visitor.
In this case, Tidio is always preconnecting, preceding other critical resources, while it often ends up not loading at all (because cookie consent wasn’t granted). That’s a waste.
In general, please refer to the MDN documentation:
If a page needs to make connections to many third-party domains, preconnecting them all can be counterproductive. The <link rel="preconnect">
hint is best used for only the most critical connections.
rel=preconnect – HTML: HyperText Markup Language | MDN (mozilla.org)
I don’t think Tidio is often a critical connection, as it isn’t usually the first thing a user interacts with. A user is likely to browse around and only use Tidio if they don’t find what they are looking for.
Having this in mind, preconnecting Tidio can unnecessarily compromise the performance of the website without providing any meaningful benefit.
Anyway, I believe it makes sense and good practice to let the developer or site owner decide whether Tidio is a critical asset or not.
Please let me know if makes sense to you and if you have any more questions.
URL of my website:
https://hobbies4.life
Thanks again.