Crates.io | precompress_static |
lib.rs | precompress_static |
version | 0.1.5 |
created_at | 2024-07-27 20:18:14.792969+00 |
updated_at | 2025-07-05 23:39:04.033424+00 |
description | Brotli pre-compression for http static content |
homepage | |
repository | https://github.com/programingjd/precompress |
max_upload_size | |
id | 1317504 |
size | 33,535 |
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.