>From the weekly news:

> Cache Stuff
> The default path of the cache folder has been changed, it's now in a
system-dependent temp directory. The system-
> dependent temp directory will be something like /tmp on *ix systems

Most Linux distributions either clear out /tmp each time the computer boots,
or mount /tmp on a virtual file system (e.g. tmpfs) that is recreated on
each boot. I believe this means that on a laptop that is rebooted a few
times each day, an application in development would require a complete
rebuild following each boot -- a very long process, of course, with any
substantial application.

The concept of putting a single cache someplace on the machine for general
use is fabulous. Putting them in TMPDIR is less desirable, and changing
TMPDIR in order to put cache files elsewhere is no good since most
applications use TMPDIR as a place to put their temporary files, and those
files should, in fact, be deleted if they still exist, upon the next boot. I
would suggest using a different environment variable variable name, e.g.
QOOXDOO_CACHE_DIR, with a fallback to TMPDIR. If QOOXDOO_CACHE_DIR is not
found in the environment, a warning should be issued (but not in -q "quiet"
mode) because falling back to TMPDIR will cause the problem described above
on each boot, causing a poor user experience of long build times. Maybe a
suggestion of how to add it to .profile could be provided.

Derrell
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to