From 98bd24f8b479132ca3f2d884749b738e9e6203e3 Mon Sep 17 00:00:00 2001 From: Giuseppe Castagno Date: Sat, 20 Aug 2016 15:45:07 +0200 Subject: Related: tdf#82677, implement a PROPFIND 'propname' request cache 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 Tested-by: Jenkins Reviewed-by: Giuseppe Castagno --- ucb/Library_ucpdav1.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'ucb/Library_ucpdav1.mk') diff --git a/ucb/Library_ucpdav1.mk b/ucb/Library_ucpdav1.mk index 02e36815d0c4..88306db5c469 100644 --- a/ucb/Library_ucpdav1.mk +++ b/ucb/Library_ucpdav1.mk @@ -53,6 +53,7 @@ $(eval $(call gb_Library_add_exception_objects,ucpdav1,\ ucb/source/ucp/webdav-neon/NeonPropFindRequest \ ucb/source/ucp/webdav-neon/NeonSession \ ucb/source/ucp/webdav-neon/NeonUri \ + ucb/source/ucp/webdav-neon/PropfindCache \ ucb/source/ucp/webdav-neon/UCBDeadPropertyValue \ ucb/source/ucp/webdav-neon/webdavcontentcaps \ ucb/source/ucp/webdav-neon/webdavcontent \ -- cgit v1.2.3