Return (and create) a package-specific cache directory.
Follows the XDG Base Directory Specification by default.
package (str) – Subdirectory name to create under the cache root.
xdg (bool) – Use $XDG_CACHE_HOME (default True).
$XDG_CACHE_HOME
True
Absolute path to the created cache directory.
str