buro9 / microcosm

Front end for Microcosm, a Go web server that serves the static files, templates and performs API calls.
GNU Affero General Public License v3.0
11 stars 3 forks source link

Inline static and template files at compile time, remove redundant flag #127

Closed pascalopitz closed 1 year ago

pascalopitz commented 1 year ago

Fixes #122

buro9 commented 1 year ago

Issue mentioned in DM chat... this is ace, but it breaks browser caching.

The benefit of a single binary deploy outweigh the downside of no-caching at this point in the dev work, but fixing the ability of the static files to be cached will be a new issue to be resolved before go live.