CacheURL Plugin

This plugin allows you to change the key that is used for caching a request. It is designed so that multiple requests that have different URLs but the same content (for example, site mirrors) need be cached only once.

Installation

This plugin is only built if the configure option

--enable-experimental-plugins

is given at build time.

Configuration

Create a cacheurl.config file in the plugin directory with the url patterns to match. See the cacheurl.config.example file for what to put in this file.

Add the plugin to your `plugins.config <../../configuration-files/plugins.config>`_ file:

cacheurl.so

Start traffic server. Any rewritten URLs will be written to cacheurl.log in the log directory by default.

More docs

There are some docs on cacheurl in Chinese, please find them in the following:

`http://people.apache.org/~zym/trafficserver/cacheurl.html <http://people.apache.org/~zym/trafficserver/cacheurl.html>`_

`https://blog.zymlinux.net/index.php/archives/195 <https://blog.zymlinux.net/index.php/archives/195>`_