On Thu, Jan 25, 2018 at 09:37:06PM +0100, Michael Hekeler wrote:
> Am Thu, 25 Jan 2018 19:47:09 +0100
> schrieb Thuban <[email protected]>:
> 
> > I'm very happy with relayd + httpd.
> > Relayd deals with headers and httpd serve files.
> > 
> > I know httpd doesn't have gzip compression.
> > 
> > 1. Do you know if it's planned in the future?
> > 2. Does anyone has a workaround to advise?
> > 
> > regards
> > 
> 
> to 1.
> https://marc.info/?l=openbsd-misc&m=142407262812306&w=2
> 
> 

Hi,

In some servers there were some security issues with compression like:
https://en.wikipedia.org/wiki/BREACH

I don't know if thats the reason httpd doesn't have it though.

> to 2.
> I never tested it myself, but ,maybe you can compress the files before
> you place them in htdocs!?
> 

Yes it's possible. Make sure to set the appriopriate HTTP headers aswell
with relayd: read "Accept-Encoding" and if it's acceptable set
"Content-Encoding".

> ...or use ngingx reverse-proxy?
> 

-- 
Kind regards,
Hiltjo

Reply via email to