[Owncloud] OC_FilesystemView for caching?

Thomas Tanghus thomas at tanghus.net
Mon May 28 19:50:03 UTC 2012


I use an 3rd party library which needs to cache local data.

To keep the different users cache apart I pass a path to an OC_FilesystemView:

  $view = new OC_FilesystemView('/'.OC_User::getUser());
  $path = $view->getLocalFile('/');

This seems to work OK, but is it safe to use this way? (besides the fact that 
OC_FilesystemView doesn't work when encryption is enabled which probably would 
be an issue in this case anyways.)

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus



More information about the Owncloud mailing list