diff --git a/apps/contacts/photo.php b/apps/contacts/photo.php index 729c2dfbcf..4660d61f61 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')); } diff --git a/apps/contacts/thumbnail.php b/apps/contacts/thumbnail.php index 5b340042a2..a64b09b671 100644 --- a/apps/contacts/thumbnail.php +++ b/apps/contacts/thumbnail.php @@ -27,7 +27,7 @@ OCP\JSON::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.png')); }