simpleshop_theme/lib/simpleshop_theme_web
Jamey Greenwood 9783199691 perf: use digested font paths in CSS and preloads
Add path_resolver parameter to font generation functions so both
font preloads and CSS @font-face declarations use the same digested
paths in production. This prevents duplicate font downloads when
preloads were using digested paths but CSS used non-digested paths.

- Add path_resolver parameter to Fonts.generate_font_faces/2,
  Fonts.preload_links/2, and Fonts.generate_all_font_faces/1
- Update CSSGenerator.generate/2 to accept path_resolver
- Update CSSCache.warm/0 to use Endpoint.static_path/1
- Move CSSCache to start after Endpoint in supervision tree
- Add 1-year cache headers for static assets

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 09:32:06 +00:00
..
components perf: use digested font paths in CSS and preloads 2026-01-25 09:32:06 +00:00
controllers feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
live feat: add mobile bottom navigation bar 2026-01-20 22:03:42 +00:00
plugs feat: add shop storefront with optimized theme CSS 2026-01-17 16:19:35 +00:00
endpoint.ex perf: use digested font paths in CSS and preloads 2026-01-25 09:32:06 +00:00
gettext.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
router.ex feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
telemetry.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
user_auth.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00