[FIX] Correcting the caching feature.

I discover some problem in OC 5.0.13 with the caching. It seems the cache didn't worked because of trying to ask the cache to create directories when it seems it's not capable of doing.

I then changed the way the key for the cache are created to make it works.