Crates.io | precompress_static |
lib.rs | precompress_static |
version | 0.1.1 |
source | src |
created_at | 2024-07-27 20:18:14.792969 |
updated_at | 2024-07-27 20:18:14.792969 |
description | Brotli pre-compression for http static content |
homepage | |
repository | https://github.com/programingjd/precompress |
max_upload_size | |
id | 1317504 |
size | 32,186 |
Precompress all static web content from a directory with brotli at max compression (original files are kept).
sync
and async
(tokio) versions, both as a lib and as executables.
See ext.rs for the list of file extensions that are compressed.