Contacts: Cache standard photo less aggressively
This commit is contained in:
parent
7e931575b4
commit
d194132b6f
|
@ -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 New Issue