I was testing my website for optimization and I got this recommendation:
The following publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header:
So, How do I add Vary: Accept-Encoding header using an embedded yaws to css and js files?
I am an arg_rewrite_mod I believe I should do something from there but i am not quite sure how.
According to the yaws.hyber.org:
Yaws will add
Accept-EncodinginVaryheader if the support of gzip compression is enabled or if the response is compressed.The
Varyheader can be set usingyaws:outh_set_vary(Fields)or by returning{header, {vary, Fields}}from scripts (where Fields is a list of header names).