From 30d13bb760b233eb4b55b46066deb4bf05d41ce4 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Thu, 28 Jun 2018 13:07:33 +0200 Subject: cache webcal calendars on server Signed-off-by: Georg Ehrke --- apps/dav/lib/Server.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/dav/lib/Server.php') diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index c8d223b18b8..dac2fa102b3 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -149,7 +149,10 @@ class Server { if (\OC::$server->getConfig()->getAppValue('dav', 'sendInvitations', 'yes') === 'yes') { $this->server->addPlugin(\OC::$server->query(\OCA\DAV\CalDAV\Schedule\IMipPlugin::class)); } + + $this->server->addPlugin(new CalDAV\WebcalCaching\Plugin($request)); $this->server->addPlugin(new \Sabre\CalDAV\Subscriptions\Plugin()); + $this->server->addPlugin(new \Sabre\CalDAV\Notifications\Plugin()); $this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest())); $this->server->addPlugin(new \OCA\DAV\CalDAV\Publishing\PublishPlugin( -- cgit v1.2.3