When do we need to send data to server? : <p>Currently, I want to display students' information in a web page. When this web page is loaded, a server sends all students'(maybe 1000+) information to a js file which is used to display information in that web page. After a user selecting some filter options (for example, student's course or country),is it a good idea to send these filter options to the server and send back some information about which students' information should be displayed? Actually, the refinement can be done within the js file without sending data to server. So I just feel that it is pointless to send filter options to the server. So when do we need to send data to server in my case? Should I send all students' information when loading the web page?</p>
