Skip to content

How to do text compression #2591

Answered by gbj
s1n7ax asked this question in Q&A
May 13, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Sure. You have the ability to do both of these and they're both totally independent of Leptos. Just add a tower_http CompressionLayer in your main.rs, and use the JS minifier of your choice during the build process.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s1n7ax
Comment options

Answer selected by s1n7ax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants