simpleshop_theme/lib
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
..
mix/tasks add mix lighthouse task for PageSpeed auditing 2026-02-08 18:18:01 +00:00
simpleshop_theme add Docker deployment with Alpine image, release config and health check 2026-02-08 16:21:05 +00:00
simpleshop_theme_web enable gzip on Plug.Static unconditionally 2026-02-08 18:23:53 +00:00
simpleshop_theme_web.ex refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00
simpleshop_theme.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00