Related: tdf#82677, implement a PROPFIND 'propname' request cache

Desktop / LibreOffice - Giuseppe Castagno [acca-esse.eu] - 23 August 2016 05:36 UTC

PROPFIND 'propname' is the special usage to retrieve all the properties available on the URI resource, their names only.

See for PROPFIND 'propname' definition.

Add cache usage in Content::getProperties as well. The caching model is simple: a simple lifetime limit of 10 seconds to declare the property name list stale and request another list, accessing the Net.

This should reduce the number of PROPFIND calls on the Net.

Change-Id: Ie4ebd946dd81583dc964a62c7744f3e2c716c737 Reviewed-on: https://gerrit.libreoffice.org/28273

98bd24f Related: tdf#82677, implement a PROPFIND 'propname' request cache
ucb/CppunitTest_ucb_webdav_propfindcache.mk | 55 +++++++++
ucb/Library_ucpdav1.mk | 1 +
ucb/Module_ucb.mk | 1 +
ucb/qa/cppunit/webdav/webdav_options.cxx | 1 -
ucb/qa/cppunit/webdav/webdav_propfindcache.cxx | 136 ++++++++++++++++++++++
ucb/source/ucp/webdav-neon/DAVResource.hxx | 5 +
ucb/source/ucp/webdav-neon/PropfindCache.cxx | 102 ++++++++++++++++
ucb/source/ucp/webdav-neon/PropfindCache.hxx | 83 +++++++++++++
ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx | 1 +
9 files changed, 384 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share