adhocteam / pushup

Pushup is for making modern, page-oriented web apps in Go
https://pushup.adhoc.dev
MIT License
840 stars 30 forks source link

Consider features to support static asset caching #52

Open scitech opened 1 year ago

scitech commented 1 year ago

Not sure if this is a use case we're concerned with here, but I think there'd need to be something like Django's collectstatic for apps more complex than a toy app. That way we could have hashed filenames to support asset caching and we wouldn't need to check built assets into source control.

The collectstatic approach would work something like:

paulsmith commented 1 year ago

Yes, I think this is a solid improvement and the kind of thing we should take advantage of by having a template language we control.