mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Contacts: Cache standard photo less aggressively
This commit is contained in:
parent
28a12ee6ff
commit
db5ee44b18
@ -14,7 +14,7 @@ OCP\User::checkLoggedIn();
|
|||||||
OCP\App::checkAppEnabled('contacts');
|
OCP\App::checkAppEnabled('contacts');
|
||||||
|
|
||||||
function getStandardImage(){
|
function getStandardImage(){
|
||||||
OCP\Response::setExpiresHeader('P10D');
|
//OCP\Response::setExpiresHeader('P10D');
|
||||||
OCP\Response::enableCaching();
|
OCP\Response::enableCaching();
|
||||||
OCP\Response::redirect(OCP\Util::imagePath('contacts', 'person_large.png'));
|
OCP\Response::redirect(OCP\Util::imagePath('contacts', 'person_large.png'));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user