Global data networking has become part of everyday life: internet users request billions of documents and terabytes of data, on a daily basis, to and from all parts of the world. Information is free, abundant, and accessible. Unfortunately, global data networking can also be a nightmare for IT professionals as they struggle with overloaded servers and congested networks. It can be challenging to consistently and reliably accommodate society’s growing data demands.

Traffic Server is a high-performance web proxy cache that improves network efficiency and performance by caching frequently-accessed information at the edge of the network. This brings content physically closer to end users, while enabling faster delivery and reduced bandwidth use. Traffic Server is designed to improve content delivery for enterprises, Internet service providers (ISPs), backbone providers, and large intranets by maximizing existing and available bandwidth.

Compile and install traffic server:
Open the terminal and type following commands:

tar xf trafficserver-3.0.0.tar.bz2

cd trafficserver-3.0.0

./configure

make

This will build with a destination prefix of /usr/local. You can finish the installation with

sudo make install

After successful installation, open ld.so.conf (sudo vi /etc/ld.so.conf) and add following line ..

include /usr/local/libexec/trafficserver

And, run the following command: sudo ldconfig

Start/Stop Traffic Server:
To start Traffic Server manually, issue the folowing command, passing in the attribute start. This command starts all the processes that work together to process Traffic Server requests as well as manage, control, and monitor the health of the Traffic Server system.

sudo trafficserver start/stop

All the configuration parameter related to cache are located in records.config file after making any configuration changes do run command traffic_line -x to apply the configuration changes.