|
|
|
|
|
by nicolaslem
1254 days ago
|
|
Kind of related, I recently wondered why there is no such thing as a packaging format for static sites. It sounds trivial but hear me out. There are many static site generators that spit out a directory with HTML files ready to be served. But getting that output in S3, netlify or your self hosted nginx is a very different process. Configuring things like cache-control, redirections, compression or error pages is done differently on all these platforms. Wouldn't it be nice if it was possible to basically generate a tar.gz with some metadata that would automatically configure the web server and deploy the site? Kind of like a docker image but for static files? |
|