MyBatis Lazy Loading Implementation Guide
Lazy loading is a performance optimization technique used in MyBatis for handling one-to-many or many-to-many relationships during database queries.
Consider a scenario with employee and department tables. A typical LEFT JOIN operation would fetch all related data in a single query. However, when department information is rarely accessed, lazy ...
Posted on Wed, 26 Aug 2026 16:30:34 +0000 by rubenc
Optimizing Swiper Performance in Uni-Apps Through Conditional Image Loading
When building image galleries in Uni-App mini-programs, rendering all swiper-item elements simultaneously can severely degrade performance. Loading dozens of high-resolution assets during initial navigation drains network bandwidth, spikes memory usage, and introduces noticeable frame drops or white-screen delays. A more efficient approach rest ...
Posted on Wed, 27 May 2026 19:12:11 +0000 by Chris Val Kef