Apache OpenOffice (AOO) Bugzilla – Issue 90249
Cached data is not in Library/Cache folder
Last modified: 2013-01-29 21:45:28 UTC
OpenOffice uses subfolders of ~/Library/Application Support/ to store caches instead of using a subfolder of ~/Library/Cache For example /Users/johan/Library/Application Support/OpenOffice.org-aqua/3/user/registry/cache /Users/johan/Library/Application Support/OpenOffice.org-aqua/3/user/uno_packages/cache This makes it harder to exclude cached-data in backups etc.
@johandahl I think you are right. @Oliver : I looked at scp2, in profileitem, and it seems to be a simple change. What do you think ?
Issue confirmed
I think uno_packages/cache is mis-named as it contains the extensions deployed for a single user. Excluding it from backup means to lose all extensions in case you need to restore the data. Without having looked at scp2 yet (to see how hard a change for registry/cache would be), I agree with this one being a good candidate to exclude from backup.
Yes, registry/cache is a true cache (while uno_packages/cache is not). Its location is defined as $UserInstallation/user/registry/cache at scp2/source/ooo/profileitem_ooo.scp:1.64 l. 160, and $UserInstallation ultimately expands to a default of ~/Library/Application Support/OpenOffice.org-aqua/3 (UserInstallation=$SYSUSERCONFIG in bootstraprc, or whereever a knowing user makes it point to by modifying bootstraprc; useful for example to have completely independent instances of OOo running next to each other). So, moving registry/cache by default from ~/Library/Application Support/OpenOffice.org-aqua/3/user/registry/cache to somewhere below ~/Library/Cache and leaving the rest of the UserInstallation tree where it is would not be that trivial after all, and would raise further questions (what to do if UserInstallation is not the default $SYSUSERCONFIG?).