Fix site search API - replace broken /v1/sites endpoint #1

Closed
opened 2026-02-15 04:54:43 -08:00 by kyle · 0 comments
Owner

Problem: The site search was using SL Transport which does NOT support search filtering - it returns all 6500+ sites every time, causing massive unnecessary data transfer.

Solution: Replaced with SL Journey Planner v2 endpoint for real server-side search. Added 24-hour cache for the full site list (used only for nearby lookups). Converted from 4 redundant API calls to single cached lookup.

Files changed:

    • Complete rewrite
    • Added for async handler
**Problem:** The site search was using SL Transport which does NOT support search filtering - it returns all 6500+ sites every time, causing massive unnecessary data transfer. **Solution:** Replaced with SL Journey Planner v2 endpoint for real server-side search. Added 24-hour cache for the full site list (used only for nearby lookups). Converted from 4 redundant API calls to single cached lookup. **Files changed:** - - Complete rewrite - - Added for async handler
kyle closed this issue 2026-02-15 05:05:25 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kyle/SignageHTML#1