Type error in cache.set

https://github.com/DramaFever/www/issues/12039