260b12ba

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Disable static asset caching in dev builds (#67)

Use build tags to serve no-store cache headers from dev binaries while keeping bounded browser caching in production builds.

Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/67

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 9s 9s 9s
Eval 5s 42s 42s 48s
Build 19s 4m26s 1m11s 1m31s
Suite 0s 5m19s 1m31s 1m31s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s