Key improvements: - Fix spatial query order: Apply bounds filtering BEFORE limit/offset - Add zoom-level based batch sizing (20-100 packets per batch) - Dynamic batch count based on zoom level (2-5 batches) - Faster loading delays for high zoom levels (25ms vs 50ms) - Include zoom level in cache keys for better cache efficiency Performance benefits: - Zoomed in far (zoom 15+): 2 batches of 20 packets each - Moderately zoomed (zoom 12-14): 3 batches of 35 packets each - Medium zoom (zoom 8-11): 4 batches of 50 packets each - Zoomed out (zoom <8): 5 batches of 75-100 packets each This ensures packets are loaded from the current viewport first, dramatically reducing load times when zoomed in. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||