Hi,
I am looking for a way to make users connect to the IRC server with everything loaded from the very first second.
Currently, there is a small delay that happens like this:
1. The user opens the chat page (preferably from a web browser).
2. They wait for "Looking up your hostname - Found your hostname (cached)".
3. The MOTD is loaded (but it is very short).
4. The RAW messages between 001 and 005 are received.
5. The user joins the channels (there is still a delay even with only 3 or 4 channels) and the nicknames are loaded.
After that, the user is fully connected. The whole process takes around 5 to 10 seconds. I am looking for a way to make the user fully connected within 1 or 2 seconds maximum.
Is there any way to achieve this?
This is mainly for UX/UI purposes.
UX/UI : Is it possible to make the user log in immediately without having to wait a few seconds?
Moderator: Supporters
Re: UX/UI : Is it possible to make the user log in immediately without having to wait a few seconds?
I really doubt you can speed up things much more, since most of that delay is just how IRC protocol works.
Joining channels adds its own delay time due to NAMES, the client has to do the handshake with the server, etc. All of that takes time.
The only thing that comes to my mind, that may slightly help, is removing the connect-info option from the set block.
Joining channels adds its own delay time due to NAMES, the client has to do the handshake with the server, etc. All of that takes time.
The only thing that comes to my mind, that may slightly help, is removing the connect-info option from the set block.
Re: UX/UI : Is it possible to make the user log in immediately without having to wait a few seconds?
@PeGaSuS
I just removed the "connect-info". It gives a better overall impression, so I'm going to leave it like this.
I just removed the "connect-info". It gives a better overall impression, so I'm going to leave it like this.