From: Thomas Tanghus Date: Tue, 5 Jun 2012 08:32:12 +0000 (+0200) Subject: Contacts: Cache standard photo less aggressively X-Git-Tag: v4.5.0beta1~74^2~424^2~30^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d194132b6f9f348daec310be2b0db7c43d4b8629;p=nextcloud-server.git Contacts: Cache standard photo less aggressively --- diff --git a/apps/contacts/photo.php b/apps/contacts/photo.php index 729c2dfbcfd..4660d61f618 100644 --- a/apps/contacts/photo.php +++ b/apps/contacts/photo.php @@ -14,7 +14,7 @@ OCP\User::checkLoggedIn(); OCP\App::checkAppEnabled('contacts'); function getStandardImage(){ - OCP\Response::setExpiresHeader('P10D'); + //OCP\Response::setExpiresHeader('P10D'); OCP\Response::enableCaching(); OCP\Response::redirect(OCP\Util::imagePath('contacts', 'person_large.png')); }