Deploy and Configure Plone + Traffic Server

In need of a cutting edge website caching system ? Try out Apache Traffic Server.

If you like the features of Varnish but require some other features like SSL termination look no further than Apache Traffic Server to handle your needs. Plone is a perfect fit for a CMS behind ATS.

In addition to the SSL termination (including SNI), ATS has the ability to do mulitcast clustering of cache and automagically sharing configuration information. These features allow you to deploy in house Content Delivery Network functionality. For more information visit: http://docs.trafficserver.apache.org

For the following we're assuming a Ubuntu 14.04 base install, and we'll deploy ATS via source.

To begin login and run the following commands at the command prompt.

sudo apt-get install g++ make pkg-config libssl-dev tcl-dev libexpat1-dev libpcre3-dev libmodule-install-perl
wget http://apache.osuosl.org/trafficserver/trafficserver-4.2.0.tar.bz2 && tar xvf trafficserver-4.2.0.tar.bz2 && cd trafficserver-4.2.0 && ./configure --enable-experimental-plugins && make
make install
nano /usr/local/etc/trafficserver/remap.config
###CACHE INSPECTOR this should only be done on a internal DNS
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/cache-internal/ http://{cache-internal}
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/cache/ http://{cache}
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/stat/ http://{stat}
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/test/ http://{test}
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/hostdb/ http://{hostdb}
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/net/ http://{net}
map https://stats.wildcardcorp.local/3kdjasfdfadJeo3l3/http/ http://{http}
##Map www.wildcardcorp.com to a backend client1

redirect http://www.wildcardcorp.com/ https://www.wildcardcorp.com map https://www.wildcardcorp.com/ http://x.x.x.x:8080/VirtualHostBase/https/www.wildcardcorp.com/www.wildcardcorp.com/VirtualHostRoot

The example mapping is to go to one client. You'll most likely want a map that does balancing. 

Go to Plone and make sure plone.app.caching is running, and "HTTP Caching" is configured and installed.

As always if you have any questions please contact us and we'd be glad to help out with your website deployment!