Added cache backend

Hi,

I added the cache backend for users who use the cache as session backend. It could be a lil bit refactor with the db backend. 

It would be nice if you can merge it :)

Best regards,

Alberto