There is this redbean beast that is able to serve static file from itself as it is an exe and a zip archive at the same time.
It can be manipulated with standard tool: zip -u redbean.zip index.html (it has to be named with ".zip" extension)
Then run as a standalone program : ./redbean.zip and it will serve the entries in the zip archive.
So, if gitmal was able to write the generated pages into a zip instead of on the filesystem, this could provide a very elegant solution to distribute the content as a standalone asset. And it is not only for redbean but for any tool that is able to serve the content of a zip archive.
Not only zip archives are compressed but also more compact than files in a FS, for which a file is a multiple of 4KB.
There is this redbean beast that is able to serve static file from itself as it is an exe and a zip archive at the same time.
It can be manipulated with standard tool:
zip -u redbean.zip index.html(it has to be named with ".zip" extension)Then run as a standalone program :
./redbean.zipand it will serve the entries in the zip archive.So, if gitmal was able to write the generated pages into a zip instead of on the filesystem, this could provide a very elegant solution to distribute the content as a standalone asset. And it is not only for redbean but for any tool that is able to serve the content of a zip archive.
Not only zip archives are compressed but also more compact than files in a FS, for which a file is a multiple of 4KB.