When a connection is established between say a client and a server, the connection is said to be persistent if the server leaves the TCP connection open after sending responses. This means that subsequent requests and responses between the same client and server can be sent without the need to open a new connection. The server only closes the connection when the connection is not used for a certain amount of time.
As the name implies, this is the direct opposite of a persistent connection. A non-persistent connection is closed after the server sends the requested resource to the client. This type of connection is used exactly for one request and one response.
Please leave a comment and share with students in your network if you found this explanation helpful. Happy learning!