Some webdav clients make requests for temporary files & directories for their operation. These files / directories either start with a "." or end with a "~". So it's easy to distinguish between such files and xwiki resources. The approach towards supporting these temporary files would be to identify them and store them in a per-user based temporary cache. We can use the xwiki-cache module for this purpose.