feat: optimize bucket data caching and document refresh behavior
Anton Malykhin
a290b8b
- Add private five-minute browser caching for SvelteKit page-data responses:
- Ranking,
- Details,
- Visualizations.
- Set Cache-Control to private, max-age=300.
- Remove the stale-while-revalidate window so expired route data is refreshed before rendering.
- Support cache handling for both localized and non-localized __data.json routes.
- Add gzip compression for page-data responses larger than 1 KB.
- Respect the client Accept-Encoding header and gzip quality value.
- Set Content-Encoding and Vary headers for compressed responses.
- Preserve uncompressed responses for clients without gzip support.
- Reduce transferred payload sizes approximately:
- Ranking from 171 KB to 58 KB,
- Details from 643 KB to 158 KB,
- Visualizations from 709 KB to 122 KB.
- Refresh the small bucket manifest whenever a browser cache miss reaches the server.
- Add refreshManifest snapshot option to separate manifest checks from full payload refreshes.
- Reuse catalog, leaderboard, and adapted d…
feat: stabilize HF deploy, locale routing, and bucket caching
Anton Malykhin
c85bc2e
- Pin pnpm 11.9.0 through Corepack in GitLab CI and Docker builds
- Add workspace pnpm safeguards for engine strictness and dependency verification warnings
- Validate required Hugging Face deploy CI variables before pushing to the Space repository
- Enable Paraglide URL/baseLocale strategy for generated runtime and Vite integration
- Localize main navigation, logo, error page, and fallback links so language-prefixed routes are preserved
- Cache Hugging Face bucket ranking, details, and visualization data by snapshot_id
- Reuse cached adapted datasets when the bucket manifest still points to the same snapshot
- Share the ranking snapshot across details and visualization fetches to avoid duplicate manifest/data requests
- Rewrite README in English with setup, environment, development, and validation instructions
- Split docs into explicit Russian and English versions with _ru and _en suffixes
- Add English translations for backend data contract and Hugging Face Space deployment docs
feat: integrate bucket-backed leaderboard data
Anton Malykhin
c6afb12
Original commit b2bb6261a92895c93392dac18ff716d51625d4b0
feat: serve leaderboard data from a private Hugging Face bucket
- add a server-only Hugging Face bucket client with manifest, schema,
checksum, and payload validation
- cache ranking, details, and manifest responses with stale-data
fallbacks and request deduplication
- adapt bucket catalog and leaderboard payloads to shared UI types
- migrate ranking, details, and tools routes from embedded fixtures
to SvelteKit server load data
- remove the obsolete static leaderboard dataset
- localize bucket labels, dataset availability messages, error pages,
and run dates
- add a global navigation loader with page fade transitions and
reduced-motion support
- add localized 404/500 pages and a static fallback error document
- add favicon, Apple touch icon, PWA icons, and web manifest
- improve select, sheet, and empty-state behavior for dynamic data
- document private bucket configuration and runtime environment variables
- add pro…