in plugins/compress wasnt any line found - i did:


[root@cdn118 plugins]# cd compress/
[root@cdn118 compress]# ls
compress.cc compress.la compress_la-compress.lo compress_la-configuration.lo compress_la-misc.lo configuration.cc configuration.h debug_macros.h Makefile.inc misc.cc misc.h README sample.compress.config
[root@cdn118 compress]# cat * | grep "#define HAVE_BROTLI_ENCODE_H 1"
[root@cdn118 compress]#


in other directories the entry was there..


On Thu, 25 Feb 2021 20:22:41 +0100 "juergenp [core]"  wrote:

Alan, where should that be ?

kr




On Thu, 25 Feb 2021 12:52:30 -0600 Alan Carroll  wrote:
It sounds like the config is correct. You could double check that

#define HAVE_BROTLI_ENCODE_H 1 is there.

If that's the case then I'd try thedebug tags next.

On Thu, Feb 25,2021 at 12:29 PM juergenp [core] <[email protected] 
<https://mailto:[email protected]> > wrote:


Hello,

i'm using git for building-
./configure --enable-experimental-plugins --prefix=/opt/ts --enable-test-tools

config log says  compress and brotli "found"  the library is also there.
do i change theconfigure statement -  maybe another parameter or does that 
build everything i need ?

kr

Juergen



On Thu, 25 Feb 2021 11:55:38 -0600 Alan Carroll  wrote:
I'd start with enabling debug tags and the tag "compress" which mayprovide more 
information. You can check to make sure Brotli support was enabled when building the 
"compress" plugin.Check your config.log.
On Thu, Feb 25, 2021 at 8:25 AM juergenp <[email protected] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__mailto-3Ajuergenp-40core.at&d=DwMDaQ&c=sWW_bEwW_mLyN3
Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=YxHAzS5XyC72tllbQqEtiOaNShCzQYcGxd
RcJh3dGo4&s=mjNKzicHTj6x90nu8TwYTb0Dbb_wgCJ71PU_6uLgYQA&e=> > wrote:>Hello,

the origin-server uses brotli compression (nginx) - i switched that server
now to ats (reverse proxy), activated the compression plugin and wrote a
config to enable brotli compression on that server.
unfortunately brotli compression is not done.

so what do i have to enable ?

my records-config contains:

CONFIG proxy.config.http.normalize_ae INT 2

CONFIG proxy.config.http.cache.required_headers INT  2
CONFIG proxy.config.http.cache.ignore_client_no_cache INT 1
---------------------

compress.config:

---------------------
#first, we configure the default/global plugin behaviour
enabled true
remove-accept-encoding true
cache false

compressible-content-type text/*
compressible-content-type *javascript*
compressible-status-code 200,206,304,409

minimum-content-length 860
#supported algorithms
supported-algorithms br,gzip

[
w40.core.at 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__w40.core.at&d=DwMDaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9
yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=YxHAzS5XyC72tllbQqEtiOaNShCzQYcGxdRcJh3dGo4&s=1
TbcCSV870aAOxEjYCMNIRMuRtbRJKzNZ5Vk7q2d9TI&e=> ]
enabled true
cache true
flush true
supported-algorithms br,gzip
# A reasonable list of content-types that are compressible
compressible-content-type text/*
compressible-content-type *font*
compressible-content-type *javascript
compressible-content-type *json
compressible-content-type *ml;*
compressible-content-type *mpegURL
compressible-content-type *mpegurl
compressible-content-type *otf
compressible-content-type *ttf
compressible-content-type *type
compressible-content-type *xml
compressible-content-type application/eot
compressible-content-type application/pkix-crl
compressible-content-type application/x-httpd-cgi
compressible-content-type application/x-perl
compressible-content-type image/vnd.microsoft.icon
compressible-content-type image/x-icon

-------------------------------------------------
#
# plugin.config
#
# Documentation:
#   

https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.trafficserver.apache.org_en_latest_admin-2Dguide_files_plugin.config.en.html&d=DwICAg&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=5h6NplYdbpYa2DNvv8ZU_pSoUG5I9JV9V_bRD8_WmqE&s=8B3wzxs18Cr1DU_C35-QVZ3kJxlM7p12OQBkYDrez8o&e=
 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.trafficserver.apache.org_en_latest_admin-2Dguide_files_p
%0Dlugin.config.en.html&d=DwICAg&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4Fz
Sc_%0D6kU7_mjSiUrDs&m=5h6NplYdbpYa2DNvv8ZU_pSoUG5I9JV9V_bRD8_WmqE&s=8B3wzxs18Cr1DU_C35-QVZ3kJxlM7p12OQBkYDrez8o&
amp;e=>

#
# Comments start with a '#' and continue to the end of the line
# Blank lines are ignored
#
# test-plugin.so arg1 arg2 arg3
#
# Example:
#inktomi/iwx/iwx.so
#inktomi/abuse/abuse.so etc/trafficserver/abuse.config
#inktomi/icx/icx.so etc/trafficserver/icx.config
#stats_over_http.so zeig_die_stats_her_oida
/opt/ts/libexec/trafficserver/compress.so
/opt/ts/etc/trafficserver/compress.config
#compress.so magick.so
acme.so
#webp_transform.so
--------------------------------------

any ideas ?


kind regards

Juergen




--
Sent from: https://urldefense.proofpoint.com/v2/url?u=http-3A__apache-2Dtraffic-2Dserver.24303.n7.nabble.com_&d=DwICAg&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=5h6NplYdbpYa2DNvv8ZU_pSoUG5I9JV9V_bRD8_WmqE&s=Rkw35NA5o0zco_e8YQOLrak_8G2T0bjK5qTCsg3mBMw&e= <https://urldefense.proofpoint.com/v2/url?u=http-3A__apache-2Dtraffic-2Dserver.24303.n7.nabble.com_&d=DwICAg&am
p;am%0Dp;c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=5h6NplYdb
pYa2DNv%0Dv8ZU_pSoUG5I9JV9V_bRD8_WmqE&s=Rkw35NA5o0zco_e8YQOLrak_8G2T0bjK5qTCsg3mBMw&e=>



--Best RegardsJuergen Paulhart[core] InformationstechnologieE-Mail / SIP / XMPP : 
[email protected] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__mailto-3Ajuergenp-40core.at&d=DwMDaQ&c=sWW_bEwW_mLyN3
Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=YxHAzS5XyC72tllbQqEtiOaNShCzQYcGxd
RcJh3dGo4&s=mjNKzicHTj6x90nu8TwYTb0Dbb_wgCJ71PU_6uLgYQA&e=> Mobil / VoIP: +43 67630 59 244 / +43 1 2364660 600*** IT Security, Cloud based Communication Technologies & Hosted Unified Communications ***<** Diese Nachricht is signiert und der Inhalt wurde während des Transfers nicht verändert **><*** .. and if you don't know, now you know, ... ***>



--Best RegardsJuergen Paulhart[core] InformationstechnologieE-Mail / SIP / XMPP : [email protected] <https://mailto:[email protected]> Mobil / VoIP: +43 67630 59 244 / +43 1 2364660 600*** IT Security, Cloud based Communication Technologies & Hosted Unified Communications ***<** Diese Nachricht is signiert und der Inhalt wurde während des Transfers nicht verändert **><*** .. and if you don't know, now you know, ... ***>

--
Best Regards

Juergen Paulhart
[core] Informationstechnologie

E-Mail / SIP / XMPP : [email protected]
Mobil / VoIP: +43 676 30 59 244 / +43 1 2364660 600

*** IT Security, Cloud based Communication Technologies & Hosted Unified Communications *** <** Diese Nachricht is signiert und der Inhalt wurde während des Transfers nicht verändert **>
<*** .. and if you don't know, now you know, ... ***>


Reply via email to