Contacts: Cache standard photo less aggressively

This commit is contained in:
Thomas Tanghus 2012-06-05 10:32:12 +02:00
parent 7e931575b4
commit d194132b6f
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}