Description: Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more.
Keywords: cherokee web server httpd http

## Index → Modules → Handlers

## Handler: Static Content

The file handler serves files from its document root. No more, no less.

### Parameters

Parameters | Type | Description
--- | --- | ---
`iocache` | Boolean | Optional. Default: `Enabled`.

By default it will use an internal I/O cache to improve the server performance. If you don’t want to use it with a directory just unset it using this parameter.

It is a good idea to disable to I/O cache if the content of the directory changes often.

### Examples

Lets imagine your virtual server DocumentRoot points to /var/www.

Handler | `Static Content`
Document Root | No custom Document Root will fall back to the default one defined for the virtual server.
Use I/O cache | `Enabled`

Handler Static Content

This is a simple example that will make Cherokee able of serving each CSS file under /var/www or any subdirectory with the IO/cache setting enabled. This would only not apply if a `final` rule with higher priority specified otherwise.