]> source.dussan.org Git - nextcloud-server.git/commit
Add caching to the imageexport plugin
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 2 May 2017 10:30:34 +0000 (12:30 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 2 May 2017 10:30:34 +0000 (12:30 +0200)
commit59e27f03b641e6048416b4ff252a66adc88100f7
treecb8b668127c4b9cb1545cc7a23ddb62a73d262d6
parent94c2f12226ed005fc2a1e9c440ec70346e9c272a
Add caching to the imageexport plugin

Since we now heavily use this endpoint for the contacts menu we better
set proper caching on the images. Else this gets reload over and over
again leading to slow loading menu and unneded bytes transfered.

* cache for 1 hour by default
* added ETag for validation

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/dav/lib/CardDAV/ImageExportPlugin.php