ws4kp-linhanced/server/scripts/modules/utils
Eddy G 517cafe40a Refactor data loading: move from inline JSON to client-side fetch
- Remove large JSON data injection from EJS templates
- Add client-side data-loader utility with cache-busting support
- Create server endpoints for JSON data with long-term caching
- Add graceful failure handling if core data fails to load
- Copy JSON data files to dist/data for static hosting
- Update app initialization to load data asynchronously
- Set serverAvailable flag for static builds in gulp task

This reduces HTML payload size and enables better caching strategies
for both server and static deployment modes.
2025-06-26 20:10:15 -04:00
..
cache.mjs Replace CORS proxy with complete server-side cache 2025-06-24 20:45:43 -04:00
calc.mjs Augment missing weather data from METAR when possible; use centralized error handling 2025-06-24 23:05:51 -04:00
data-loader.mjs Refactor data loading: move from inline JSON to client-side fetch 2025-06-26 20:10:15 -04:00
debug.mjs Add debug flag management system 2025-06-24 22:53:25 -04:00
elem.mjs weather displays complete 2022-11-22 16:19:10 -06:00
fetch.mjs Add STATIC environment variable for browser-only deployment mode 2025-06-26 20:10:11 -04:00
forecast-utils.mjs Enhance extended forecast parsing and error handling 2025-06-24 23:07:47 -04:00
image.mjs code cleanup 2025-05-29 08:30:01 -05:00
metar.mjs Augment missing weather data from METAR when possible; use centralized error handling 2025-06-24 23:05:51 -04:00
nosleep.mjs Add comprehensive responsive scanline scaling system with anti-aliasing 2025-06-24 22:38:25 -04:00
polygon.mjs initial data and graph 2025-05-15 16:04:57 -05:00
scroll-timing.mjs Refactor timing calculations and improve scroll performance 2025-06-24 23:39:40 -04:00
setting.mjs fix setting boolean-style query string parsing close #106 2025-06-06 16:40:08 -05:00
string.mjs additional eslint rules 2023-01-06 14:39:39 -06:00
units.mjs allow one missing valueon current conditoins #94 #114 2025-06-19 22:50:09 -05:00
url-rewrite.mjs Add STATIC environment variable for browser-only deployment mode 2025-06-26 20:10:11 -04:00
weather.mjs Improve error handling 2025-06-24 23:10:52 -04:00