mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Contacts: Cache standard photo less aggressively
This commit is contained in:
parent
7e931575b4
commit
d194132b6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue