server side processing - limit requests
server side processing - limit requests
lary
Posts: 2Questions: 0Answers: 0
Hello
I'm using DataTables 1.9 with server side processing and I have performance issues when users type filter phrase. This is because requests to the server are made every character user types. When user types 10 character word then 10 requests are made. I would like the plugin to check time period that elapsed from entering the last character and only fire request when that time is long enough (at least 1 second for example). In other words I'm looking for the way to actually fire ajax request when user stops typing filter phrase rather than firing it every typed character. Is there a way to achive this kind of behaviour or maybe you could add such feature in the future?
Regards
I'm using DataTables 1.9 with server side processing and I have performance issues when users type filter phrase. This is because requests to the server are made every character user types. When user types 10 character word then 10 requests are made. I would like the plugin to check time period that elapsed from entering the last character and only fire request when that time is long enough (at least 1 second for example). In other words I'm looking for the way to actually fire ajax request when user stops typing filter phrase rather than firing it every typed character. Is there a way to achive this kind of behaviour or maybe you could add such feature in the future?
Regards
This discussion has been closed.
Replies
Allan