GLib.get_user_cache_dir

function get_user_cache_dir(): String {
    // Gjs wrapper for g_get_user_cache_dir()
}
  

Returns a base directory in which to store non-essential, cached data specific to particular user.

On UNIX platforms this is determined using the mechanisms described in the [XDG Base Directory Specification](http://www.freedesktop.org/Standards/basedir-spec). In this case the directory retrieved will be XDG_CACHE_HOME.

On Windows is the directory that serves as a common repository for temporary Internet files. A typical path is C:\Documents and Settings\username\Local Settings\Temporary Internet Files. See documentation for CSIDL_INTERNET_CACHE.

Since 2.6

Returns

a string owned by GLib that must not be modified or freed.