`setHeader Content-Type text/html; charset=utf-8 `setHeader Cache-Control max-age=300

there is a special directive for the content-type header

`verbatim `contentType text/html; charset=utf-8 ` #{doLayout/}