Yuji
Yuji
Explore posts from servers
CC#
Created by Yuji on 3/7/2025 in #help
✅ Memory leak or What?
Whenever I call my controller in .net web app, my memory usage gets increased on each call and it never decreases what can be issue?? I will share my code Snippets bellow!
114 replies
CC#
Created by Yuji on 3/6/2025 in #help
Optimizing Filtering and Pagination: Reducing Backend Requests Efficiently
I want to implement filtering and pagination while minimizing backend requests as much as possible. Here’s the challenge:
1)When the page loads, I send the first N records from the backend.
2)The user applies filters, and if matching data exists within those N records, I display it instantly.
3)If no matching data is found in the current N records, I need to check the backend for more data.
4)This means that for every filter change, I might have to query the backend, which increases requests.
1)When the page loads, I send the first N records from the backend.
2)The user applies filters, and if matching data exists within those N records, I display it instantly.
3)If no matching data is found in the current N records, I need to check the backend for more data.
4)This means that for every filter change, I might have to query the backend, which increases requests.
-I know caching can help, but if the filtering logic is complex, managing cache efficiently can also become challenging. -How can I reduce backend requests while handling filtering and pagination efficiently?
29 replies