Name Date Size #Lines LOC

..08-Nov-2019-

Makefile.incH A D16-Oct-20181.1 KiB245

READMEH A D09-Aug-20181 KiB3122

compress.ccH A D20-Aug-201933.5 KiB1,092836

configuration.ccH A D20-Aug-201910.8 KiB412328

configuration.hH A D12-Sep-20184.1 KiB183140

debug_macros.hH A D04-Jul-20182.3 KiB5726

misc.ccH A D06-Feb-20206.2 KiB204155

misc.hH A D03-May-20182.9 KiB10059

sample.compress.configH A D09-Aug-20182.5 KiB7466

README

1What this plugin does:
2
3=====================
4this plugin compresses responses, via gzip or brotli, whichever is applicable
5it can compress origin responses as well as cached responses
6
7installation:
8make && sudo make install
9
10if no makefile is present, you can compile it using
11    tsxs -o compress.so *.cc
12and then install it using
13    tsxs -i -o compress.so
14
15after installation, add a line to plugin.config:
16compress.so
17
18in this case, the plugin will use a default behaviour:
19- use caching
20- compress text/* for every origin
21- don't hide accept encoding from origin servers (for an offloading reverse proxy)
22- no urls are disallowed from compression
23
24alternatively, a configuration can also be specified:
25compress.so <path-to-config>/sample.compress.config
26
27after modifying plugin.config, restart traffic server (sudo traffic_ctl server restart)
28the configuration is re-read when a management update is given (sudo traffic_ctl config reload)
29
30See sample.config.compress for an example configuration and the options that are available
31