Apache Traffic Server web content optimization plugin powered by Google PageSpeed
To build, a simple 'make' should work. Use 'sudo make install' to install. Optionally, patching ATS with ethread.patch helps with eliminating latency that sometimes gets induced when synchronising ATS's and PSOL's thread pools.
After that, update ATS's plugin.config with:
ats_pagespeed.so gzip.so /usr/local/etc/trafficserver/gzip.config
gzip.so also is build with ats_pagespeed, as it currently is a slightly modified version of the official one from the ATS repository.
There are some hard-coded things in the plugin, these directories should exist:
- /tmp/ps_log/ to exist
- /tmp/ats_ps/ to exist
Configuration files go into
That folder is monitored, and changes to files in there are picked
up immediately. A sample configuration:
You can view debug output of the plugin using
traffic_server -T ".*speed.*"
The current state compiles against PSOL 220.127.116.11-stable