- 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. |
||
|---|---|---|
| .. | ||
| cache.mjs | ||
| calc.mjs | ||
| data-loader.mjs | ||
| debug.mjs | ||
| elem.mjs | ||
| fetch.mjs | ||
| forecast-utils.mjs | ||
| image.mjs | ||
| metar.mjs | ||
| nosleep.mjs | ||
| polygon.mjs | ||
| scroll-timing.mjs | ||
| setting.mjs | ||
| string.mjs | ||
| units.mjs | ||
| url-rewrite.mjs | ||
| weather.mjs | ||