[Owncloud] Filesystem merged into master

Robin Appelman icewind at owncloud.com
Wed Feb 8 16:46:03 UTC 2012


Earlier today I merged the filesystem branch into master,
the filesystem branch holded multiply improvements to the entire filesystem 
infrastructure of ownCloud, including the option to access the files outside 
the users home folder, and caching of file info in the database for quick 
access.

What does this mean for users:
 - Almost nothing, the first time you access the Files page in your ownCloud, 		
	your home folder will get scanned and you can continue using your cloud.

What does this mean for developers:
 - use the filesystem cache where possible, using the cache instead of querying 
	the filesystem can give a big improvement in preformance, things like 		
	search for files (by name or mimetype) can be done with a single sql query 
	and getting the mimetype isn't near as expensive

 - use the filesystem views[1] when you need to access/store files outside the 	
	users home folder (e.g. storing thumbnails of images)

Another recent addition to the developers arsenall, unrelated to the filesystem 
branch, is a server and client side library for server-sent events[2],
this can be used to provide feedback to the client during long-term actions 
like scanning images or music.

If you need more info/help on one of these subjects, send me a mail, poke me 
on irc or wait untill I stop being lazy and write some proper 
documentation/tutorials on the site :)

[1]: http://mail.kde.org/pipermail/owncloud/2012-January/002065.html
[2]: http://dev.w3.org/html5/eventsource/


 - Robin Appelman



More information about the Owncloud mailing list