Use '$XDG_CACHE_HOME' instead of '$XDG_CACHE_DIR' 

per http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html