I am making a social networking website with PHP, MySQL, Javascript, JQUERY, and AJAX. I have setInterval and setTimeout function to show messages, friend requests etc every second with ajax. But I see that it is sending a response every second and finish time to increase continuously. Will it affect my server performance?
Please see the snapshot -
fetch()
request and that time would then read 10 minutes.