一家 SaaS 平台为提升仪表盘性能,实施性能优化策略,使用懒加载技术将 API 调用减少 90%。 此前平台仪表盘在页面加载时同时获取所有组织卡片数据,导致 API 调用率高、出现延迟,尤其在租户规模大时问题突出,给后端带来巨大压力,降低用户体验。 该平台采用 ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
This project aims to be a drop-in solution for sites to prefetch or prerender links based on what is in the user's viewport. It also aims to be small (< 2KB minified/gzipped). A "reset" function is ...
React Native作为跨平台开发框架,其性能优化一直是开发者关注的焦点。本文将结合实战经验,为你整理15个可落地的优化方案,涵盖渲染、内存、图片、网络等关键维度,助力应用流畅度提升50%以上。 对高频交互组件(如输入框)采用useCallback包裹事件处理函数 ...
A Svelte action that monitors an element enters or leaves the viewport/parent element. Performant and efficient thanks to using Intersection Observer under the hood. Can be used in multiple projects ...