simpleshop_theme/lib/simpleshop_theme_web
jamey 1f4e938ed1 enable gzip on Plug.Static unconditionally
Plug.Static with gzip: true serves .gz files when they exist
(created by phx.digest) and falls back to uncompressed otherwise.
The previous code_reloading? guard was needlessly conservative —
in dev without digested assets, there are no .gz files so nothing
changes. With the lighthouse task building prod assets, this gives
realistic transfer sizes (42KB JS vs 135KB).

Mobile lighthouse scores jump from 95-97 to 99-100.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 18:23:53 +00:00
..
components add CI pipeline with credo and dialyzer 2026-02-08 15:19:42 +00:00
controllers add Docker deployment with Alpine image, release config and health check 2026-02-08 16:21:05 +00:00
live refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00
plugs feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +00:00
cart_hook.ex refactor: extract Cart.build_state/1 as single source of truth for cart state 2026-02-08 12:24:39 +00:00
endpoint.ex enable gzip on Plug.Static unconditionally 2026-02-08 18:23:53 +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 add observability: LiveDashboard in prod, error tracking, JSON logging 2026-02-08 17:02:21 +00:00
telemetry.ex add observability: LiveDashboard in prod, error tracking, JSON logging 2026-02-08 17:02:21 +00:00
theme_hook.ex refactor: extract ThemeHook to eliminate mount duplication 2026-02-08 11:59:33 +00:00
user_auth.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00