Forum Discussion
Gzip content when using HTTP::respond
- Oct 13, 2023
I don't think what you're looking for is possible like the way you describe it.
Thinking out loud though, if your content is static you could serve it as a precompressed gzip file? Jason has an article about serving files via ifile here:
Oh, and if the content is brotli compatible and the client supports it you migth want to look into that as an alternative to gzip.
https://en.wikipedia.org/wiki/Brotli
Kind regards,
Patrik
Thanks for the reply, Patrik.
I assumed that I would be able to do it but I wanted to ask before going down a different path.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com