diff --git a/src/applications/files/controller/view/PhabricatorFileViewController.php b/src/applications/files/controller/view/PhabricatorFileViewController.php index bb1dafda93..54847d76ac 100644 --- a/src/applications/files/controller/view/PhabricatorFileViewController.php +++ b/src/applications/files/controller/view/PhabricatorFileViewController.php @@ -41,6 +41,7 @@ class PhabricatorFileViewController extends PhabricatorFileController { $data = $file->loadFileData(); $response = new AphrontFileResponse(); $response->setContent($data); + $response->setCacheDurationInSeconds(60 * 60 * 24 * 30); if ($this->view == 'view') { if (!$file->isViewableInBrowser()) {