Memory cache read/write problem

I have posted the question is stack overflow and unable to find the solution of the problem.

http://stackoverflow.com/questions/19655803/internationalization-i18n-cache-read-write

Please help me to solve the problem