backend.ai-webui
backend.ai-webui copied to clipboard
Use query decorator for caching data
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
기능 요청이 특정 문제에 연관된 것이라면 여기에 그 문제를 설명해주세요.
Let's use the decorator @queryAsync
on rarely fetching data for better performance.
Describe the solution you'd like A clear and concise description of what you want to happen. 어떤 기능이 있으면 좋겠는지 자세히 설명해주세요. There's not much to describe here since we already have it in #1376. But this issue concentrates on "caching", which reduces data fetching before page refreshing in SPA. Also, It may need tests on former versions of browsers, to check whether decorators work properly or not. Here are some examples that don't need frequent data updates.
- User information (until user information update happens(including mass creation/deletion, etc.))
- Keypair Resource Policies
- Image metadata (until refreshing registry information)
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. 혹시 다른 대안들을 생각해본 적이 있다면 함께 적어주세요.
Additional context Add any other context or screenshots about the feature request here. 기능 요청에 대해 보다 잘 이해할 수 있는 다른 맥락을 기술해주세요.