diff --git a/robotstxt.module b/robotstxt.module index 1f098f5..6c8b1b1 100644 --- a/robotstxt.module +++ b/robotstxt.module @@ -68,6 +68,7 @@ function robotstxt_robots() { $content = array_filter($content); drupal_add_http_header('Content-type', 'text/plain'); + drupal_add_http_header('Cache-Control', 'public, max-age=27000'); echo implode("\n", $content); drupal_exit(); }