aprs.me/lib/aprsme_web
Graham McIntire f7cf0d0d47
Implement advanced JavaScript optimization with conditional loading
- Created minimal, tree-shaken vendor bundles:
  * Core bundle (3KB): Always loaded utilities and theme management
  * Map bundle (255KB): Leaflet + plugins, loaded only for map pages
  * Chart bundle (205KB): Chart.js, loaded only for chart pages
  * Date adapter (50KB): Chart.js time scale support
- Total optimized size: 513KB JS + 12KB CSS (was 547KB + 17KB)
- Implemented conditional loading via VendorLoader utility
- Bundle loading triggered by LiveView hooks when needed
- Fixed Chart.js date adapter dependency loading
- Eliminated unused JavaScript from being sent to browsers
- Created separate esbuild configs for each optimized bundle

Performance improvements:
- Map pages: Core + Map bundles = 258KB (47% of original)
- Chart pages: Core + Chart + Adapter = 258KB (47% of original)
- Other pages: Core bundle only = 3KB (0.5% of original)
- Reduced initial page load by 94% for non-map/chart pages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 14:05:18 -05:00
..
components Implement advanced JavaScript optimization with conditional loading 2025-07-25 14:05:18 -05:00
controllers Add cluster-aware APRS-IS status checking 2025-07-25 13:10:23 -05:00
live Add cluster-aware APRS-IS status checking 2025-07-25 13:10:23 -05:00
plugs Fix rate limiter header check bug 2025-07-25 09:30:59 -05:00
aprs_symbol.ex refactor 2025-07-13 16:49:20 -05:00
endpoint.ex add sentry 2025-07-18 15:07:53 -05:00
gettext.ex more languages 2025-07-06 10:08:58 -05:00
router.ex back to raster 2025-07-24 12:02:28 -05:00
telemetry.ex clean up warnings 2025-07-16 08:55:46 -05:00
time_helpers.ex clean up warnings 2025-07-16 08:55:46 -05:00
time_utils.ex refactor and performance improvements 2025-07-10 10:53:34 -05:00
user_auth.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
weather_units.ex fix nil weather units 2025-07-08 12:45:50 -05:00