diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-20 15:45:07 +0200 |
---|---|---|
committer | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-23 10:36:39 +0000 |
commit | 98bd24f8b479132ca3f2d884749b738e9e6203e3 (patch) | |
tree | 396088188267e6f8f189494c095f8315329af70c /ucb/Module_ucb.mk | |
parent | 2b4d13f135cd0e0b7000f1de658c35c873f533b3 (diff) |
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 <https://tools.ietf.org/html/rfc4918#section-9.1> 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 <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Diffstat (limited to 'ucb/Module_ucb.mk')
-rw-r--r-- | ucb/Module_ucb.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ucb/Module_ucb.mk b/ucb/Module_ucb.mk index e14c52426e52..5fcd1e71fd11 100644 --- a/ucb/Module_ucb.mk +++ b/ucb/Module_ucb.mk @@ -36,6 +36,7 @@ ifeq ($(WITH_WEBDAV),neon) $(eval $(call gb_Module_add_check_targets,ucb,\ CppunitTest_ucb_webdav_local_neon \ CppunitTest_ucb_webdav_neon_opts \ + CppunitTest_ucb_webdav_propfindcache \ )) endif |