search for: _cache_

Displaying 4 results from an estimated 4 matches for "_cache_".

Did you mean: _cache
2015 Nov 23
1
[Path] RFC: Known directories
...get erased >> on reboot, possibly for performance reasons. Do we gain something from >> deprecating system_temp_directory()? > > I have a small preference for having the distinction in the name: > > *_temp_* -> something that is one use and potentially deleted often > *_cache_* -> something we would like to save (modules for example). > > So what we gain is clarity over a bool parameter. We already have user_cache_directory, and it means something different than system_temp_directory(false) today. ~Aaron
2015 Nov 23
1
[Path] RFC: Known directories
...ormance reasons. Do we gain something from >>>> deprecating system_temp_directory()? >>> >>> I have a small preference for having the distinction in the name: >>> >>> *_temp_* -> something that is one use and potentially deleted often >>> *_cache_* -> something we would like to save (modules for example). >>> >>> So what we gain is clarity over a bool parameter. >> >> We already have user_cache_directory, and it means something different >> than system_temp_directory(false) today. > > It was just...
2015 Nov 19
2
[Path] RFC: Known directories
...Windows and OSX it returns user's temp directories as a first choice. system_temp_directory(false) returns a path to a directory that is not cleared on reboot. On Linux it is usually /var/tmp. On Windows is the same as system_temp_directory(true). On OSX it is user's cache directory. user_cache_directory() returns a path to user's cache directory. Redesign proposal: 1. Add function temp_directory() - a replacement for system_temp_directory(true). If it returns system or user temp directory is OS-specific. Same as system_temp_directory() it always succeed. 2. Implement sys...
2013 Mar 18
27
corruption of active mmapped files in btrfs snapshots
For quite a while, I''ve experienced oddities with snapshotted Firefox _CACHE_00?_ files, whose checksums (and contents) would change after the btrfs snapshot was taken, and would even change depending on how the file was brought to memory (e.g., rsyncing it to backup storage vs checking its md5sum before or after the rsync). This only affected these cache files, so I didn...