I also tried creating a ~/.xprofile and adding this to that and it didnt work so I dug a little further and think that I have found a solution to my answer. instead of change the entire path of $XDG_CACHE_HOME, I decided to resort back to figuring out how to redirect the cache output of chromium so here is what I did:
http://code.google.com/p/chromium/is...etail?id=31424
I add some flags to /etc/chromium-browser/default
PHP Code:
CHROMIUM_FLAGS="--disk-cache-dir=/dev/shm/chromium --disk-cache-size=52428800 --media-cache-size=524428800"
that did the trick so far. I am still testing. Though it is working now it still creates a directory under ~/.cache/chromium but fortunately it doesn't copy anything there.
???? I guess this work for now